Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 108.4 kB / 18.36 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.001801, allocations: 191 kB / 19.29 MB, free: 3.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 59.92 kB / 282.1 MB, free: 2.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07469/0.07588, allocations: 46.63 MB / 328.8 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02458/0.1005, allocations: 24.88 MB / 353.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.1139, allocations: 7.361 MB / 361 MB, free: 3.348 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003263/0.1172, allocations: 159.5 kB / 361.2 MB, free: 3.191 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01902/0.1363, allocations: 8.771 MB / 369.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008482/0.1448, allocations: 2.988 MB / 372.9 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004531/0.1493, allocations: 1.738 MB / 374.7 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.159/0.3083, allocations: 10.86 MB / 385.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02445/0.3328, allocations: 21.88 MB / 407.4 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006451/0.3393, allocations: 5.781 MB / 413.2 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01331/0.3526, allocations: 6.903 MB / 420.1 MB, free: 0 / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006489/0.3591, allocations: 2.003 MB / 422.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005547/0.3647, allocations: 2.05 MB / 424.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004194/0.3689, allocations: 3.22 MB / 427.4 MB, free: 9.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01057/0.3795, allocations: 6.17 MB / 433.5 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0216/0.4012, allocations: 22.37 MB / 455.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.4012, allocations: 4 kB / 455.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4012, allocations: 0 / 455.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004064/0.4016, allocations: 0 / 455.9 MB, free: 13.83 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.0328/0.4344, allocations: 12.9 MB / 468.8 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4345, allocations: 8.031 kB / 468.8 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03938/0.4739, allocations: 7.187 MB / 476 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/0.4863, allocations: 6.164 MB / 482.2 MB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006454/0.487, allocations: 0.7122 MB / 482.9 MB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002929/0.4899, allocations: 0.9351 MB / 483.8 MB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03202/0.522, allocations: 16.2 MB / 0.4883 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002139/0.5222, allocations: 15.89 kB / 0.4883 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001376/0.5236, allocations: 396.5 kB / 0.4887 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005317/0.5241, allocations: 0.5825 MB / 0.4893 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02882/0.553, allocations: 15.46 MB / 0.5044 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3625/0.9155, allocations: 52.22 MB / 0.5554 GB, free: 82.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02213/0.9377, allocations: 35.49 MB / 0.59 GB, free: 52.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004407/0.9421, allocations: 3.396 MB / 0.5933 GB, free: 52.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01528/0.9574, allocations: 10.05 MB / 0.6032 GB, free: 51.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.9575, allocations: 71.58 kB / 0.6032 GB, free: 51.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=297): time 4.528e-06/0.9575, allocations: 0 / 0.6032 GB, free: 51.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=303): time 0.02918/0.9867, allocations: 15.35 MB / 0.6182 GB, free: 46.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.9867, allocations: 83.84 kB / 0.6183 GB, free: 45.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004421/0.9912, allocations: 3.853 MB / 0.6221 GB, free: 44.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004008/0.9916, allocations: 71.36 kB / 0.6221 GB, free: 44.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001603/0.9932, allocations: 4.263 MB / 0.6263 GB, free: 40.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008343/0.9941, allocations: 1.05 MB / 0.6273 GB, free: 40.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00138/0.9954, allocations: 1.098 MB / 0.6284 GB, free: 39.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.495e-05/0.9955, allocations: 313 kB / 0.6287 GB, free: 39.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003043/0.9985, allocations: 2.547 MB / 0.6312 GB, free: 37.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003876/1.002, allocations: 4.915 MB / 0.636 GB, free: 33.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00768/1.01, allocations: 7.943 MB / 0.6437 GB, free: 26.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.341e-05/1.01, allocations: 26 kB / 0.6438 GB, free: 26.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01268/1.023, allocations: 8.645 MB / 0.6522 GB, free: 17.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.835e-05/1.023, allocations: 40 kB / 0.6522 GB, free: 17.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/1.023, allocations: 80 kB / 0.6523 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002994/1.026, allocations: 1.244 MB / 0.6535 GB, free: 16.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003961/1.03, allocations: 1.224 MB / 0.6547 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/1.042, allocations: 9.945 MB / 0.6644 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003742/1.046, allocations: 323.5 kB / 0.6647 GB, free: 5.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004576/1.046, allocations: 288 kB / 0.665 GB, free: 4.793 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (638): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004365/1.051, allocations: 3.731 MB / 0.6687 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006309/1.051, allocations: 379.3 kB / 0.669 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009856/1.061, allocations: 5.819 MB / 0.6747 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007776/1.069, allocations: 4.767 MB / 0.6794 GB, free: 6.164 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/1.069, allocations: 8 kB / 0.6794 GB, free: 6.156 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-05/1.069, allocations: 15.94 kB / 0.6794 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02329/1.092, allocations: 13.7 MB / 0.6928 GB, free: 8.445 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/1.092, allocations: 4.031 kB / 0.6928 GB, free: 8.441 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00248/1.095, allocations: 0.5565 MB / 0.6933 GB, free: 7.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003116/1.098, allocations: 1.113 MB / 0.6944 GB, free: 6.789 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000232/1.098, allocations: 68.86 kB / 0.6945 GB, free: 6.723 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/1.111, allocations: 8.837 MB / 0.7031 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.111, allocations: 11 kB / 0.7031 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/1.124, allocations: 8.507 MB / 0.7114 GB, free: 5.168 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002083/1.126, allocations: 0.8671 MB / 0.7123 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005174/1.127, allocations: 60 kB / 0.7123 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/1.129, allocations: 188.8 kB / 0.7125 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005333/1.129, allocations: 229.7 kB / 0.7127 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002169/1.13, allocations: 87.98 kB / 0.7128 GB, free: 3.727 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003698/1.133, allocations: 2.588 MB / 0.7153 GB, free: 1.152 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.133, allocations: 0 / 0.7153 GB, free: 1.152 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.1508/1.284, allocations: 1.547 MB / 0.7168 GB, free: 180 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (282): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008703/1.285, allocations: 239 kB / 0.7171 GB, free: 179.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01038/1.295, allocations: 6.528 MB / 0.7234 GB, free: 179.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/1.295, allocations: 1.219 kB / 0.7234 GB, free: 179.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00473/1.3, allocations: 2.961 MB / 0.7263 GB, free: 178.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003559/1.304, allocations: 0.9509 MB / 0.7273 GB, free: 178.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02036/1.324, allocations: 16.09 MB / 0.743 GB, free: 171 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004782/1.329, allocations: 6.227 MB / 0.749 GB, free: 168.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004158/1.333, allocations: 1.88 MB / 0.7509 GB, free: 168.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007974/1.334, allocations: 315.4 kB / 0.7512 GB, free: 168.4 MB / 494.1 MB Notification: Performance of SimCode: time 8.11e-07/1.334, allocations: 0 / 0.7512 GB, free: 168.4 MB / 494.1 MB Notification: Performance of Templates: time 0.08087/1.415, allocations: 58.55 MB / 0.8084 GB, free: 118.1 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches