Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001496/0.001496, allocations: 108.6 kB / 16.51 MB, free: 6.707 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.001732/0.001732, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241.1 MB, free: 13.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009585/0.0009582, allocations: 38.44 kB / 300 MB, free: 6.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08486/0.08584, allocations: 49.45 MB / 349.4 MB, free: 4.566 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1741/0.26, allocations: 24.32 MB / 373.7 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0136/0.2736, allocations: 7.282 MB / 381 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005247/0.2789, allocations: 179.8 kB / 381.2 MB, free: 8.758 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01801/0.297, allocations: 8.321 MB / 389.5 MB, free: 6.359 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01013/0.3071, allocations: 2.671 MB / 392.2 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005178/0.3123, allocations: 1.603 MB / 393.8 MB, free: 4.195 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01322/0.3255, allocations: 10.62 MB / 404.4 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0332/0.3588, allocations: 18.13 MB / 422.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008827/0.3677, allocations: 4.915 MB / 427.5 MB, free: 8.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009381/0.3771, allocations: 5.945 MB / 433.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003467/0.3806, allocations: 1.082 MB / 434.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005576/0.3862, allocations: 1.445 MB / 435.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003905/0.3901, allocations: 2.551 MB / 438.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009647/0.3998, allocations: 5.477 MB / 444 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02438/0.4242, allocations: 21.83 MB / 465.8 MB, free: 1.781 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4242, allocations: 0 / 465.8 MB, free: 1.781 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4242, allocations: 0 / 465.8 MB, free: 1.781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007207/0.4249, allocations: 0 / 465.8 MB, free: 1.781 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03854/0.4635, allocations: 12.81 MB / 478.6 MB, free: 4.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.4636, allocations: 8.031 kB / 478.6 MB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03508/0.4986, allocations: 6.15 MB / 484.8 MB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01441/0.5131, allocations: 6.718 MB / 491.5 MB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007166/0.5138, allocations: 0.7064 MB / 492.2 MB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003784/0.5176, allocations: 0.9295 MB / 493.1 MB, free: 6.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03944/0.5571, allocations: 15.75 MB / 0.4969 GB, free: 6.461 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000425/0.5576, allocations: 19.75 kB / 0.497 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002982/0.5606, allocations: 392 kB / 0.4973 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006068/0.5612, allocations: 0.5509 MB / 0.4979 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03208/0.5933, allocations: 14.77 MB / 0.5123 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2497/0.843, allocations: 51.59 MB / 0.5627 GB, free: 90.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01866/0.8616, allocations: 26.5 MB / 0.5886 GB, free: 65.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004992/0.8667, allocations: 3.251 MB / 0.5917 GB, free: 63.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005022/0.8672, allocations: 165.9 kB / 0.5919 GB, free: 63.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.312e-05/0.8673, allocations: 76.67 kB / 0.592 GB, free: 63.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=404): time 7.604e-06/0.8673, allocations: 0 / 0.592 GB, free: 63.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=410): time 0.03405/0.9014, allocations: 17.25 MB / 0.6088 GB, free: 48.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.9015, allocations: 98.53 kB / 0.6089 GB, free: 48.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005001/0.9065, allocations: 3.684 MB / 0.6125 GB, free: 44.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003086/0.9068, allocations: 93.64 kB / 0.6126 GB, free: 44.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001528/0.9083, allocations: 3.977 MB / 0.6165 GB, free: 40.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008447/0.9092, allocations: 1.389 MB / 0.6178 GB, free: 39.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001588/0.9108, allocations: 1.144 MB / 0.6189 GB, free: 37.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.387e-05/0.9108, allocations: 309.1 kB / 0.6192 GB, free: 37.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003498/0.9143, allocations: 2.822 MB / 0.622 GB, free: 34.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004786/0.9191, allocations: 4.995 MB / 0.6269 GB, free: 28.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008971/0.9281, allocations: 8.37 MB / 0.6351 GB, free: 19.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-05/0.9282, allocations: 20 kB / 0.6351 GB, free: 19.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01426/0.9425, allocations: 9.143 MB / 0.644 GB, free: 10.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.751e-05/0.9426, allocations: 36 kB / 0.644 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/0.9427, allocations: 72 kB / 0.6441 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003106/0.9458, allocations: 1.2 MB / 0.6453 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004413/0.9502, allocations: 1.322 MB / 0.6466 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/0.9628, allocations: 9.116 MB / 0.6555 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004077/0.9669, allocations: 331.4 kB / 0.6558 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000958/0.9679, allocations: 288 kB / 0.6561 GB, free: 13.81 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (697): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.006907/0.9748, allocations: 3.708 MB / 0.6597 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001304/0.9761, allocations: 399.1 kB / 0.6601 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/0.9889, allocations: 6.748 MB / 0.6666 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009692/0.9986, allocations: 5.647 MB / 0.6722 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-05/0.9987, allocations: 12 kB / 0.6722 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.124e-05/0.9987, allocations: 19.92 kB / 0.6722 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0295/1.028, allocations: 16.17 MB / 0.688 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/1.028, allocations: 4 kB / 0.688 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002927/1.031, allocations: 0.7216 MB / 0.6887 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003127/1.034, allocations: 1.071 MB / 0.6897 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000441/1.035, allocations: 95.97 kB / 0.6898 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/1.047, allocations: 8.063 MB / 0.6977 GB, free: 2.781 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/1.047, allocations: 11.94 kB / 0.6977 GB, free: 2.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2237/1.271, allocations: 9.92 MB / 0.7074 GB, free: 155.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002135/1.273, allocations: 0.9591 MB / 0.7083 GB, free: 155 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009187/1.274, allocations: 86.94 kB / 0.7084 GB, free: 154.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/1.276, allocations: 199.9 kB / 0.7086 GB, free: 154.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000704/1.277, allocations: 288.9 kB / 0.7089 GB, free: 154.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002469/1.277, allocations: 119 kB / 0.709 GB, free: 154.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003554/1.281, allocations: 2.488 MB / 0.7114 GB, free: 153.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.81e-07/1.281, allocations: 3.469 kB / 0.7114 GB, free: 153.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004895/1.286, allocations: 1.617 MB / 0.713 GB, free: 153.7 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (392): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.000529/1.286, allocations: 290 kB / 0.7133 GB, free: 153.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0107/1.297, allocations: 7.188 MB / 0.7203 GB, free: 150.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/1.297, allocations: 0 / 0.7203 GB, free: 150.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005093/1.302, allocations: 3.408 MB / 0.7236 GB, free: 149.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004132/1.306, allocations: 0.9197 MB / 0.7245 GB, free: 149.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02361/1.33, allocations: 20.54 MB / 0.7446 GB, free: 137.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004708/1.335, allocations: 6.194 MB / 0.7506 GB, free: 132.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004668/1.339, allocations: 1.914 MB / 0.7525 GB, free: 131.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009267/1.34, allocations: 346.8 kB / 0.7528 GB, free: 131.2 MB / 478.1 MB Notification: Performance of SimCode: time 8.11e-07/1.34, allocations: 0 / 0.7528 GB, free: 131.2 MB / 478.1 MB Notification: Performance of Templates: time 0.08677/1.427, allocations: 67.01 MB / 0.8183 GB, free: 65.58 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches