Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001481/0.001482, allocations: 105.4 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001807/0.001807, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 246.3 MB, free: 9.059 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 57.75 kB / 306.3 MB, free: 0.7812 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09189/0.0931, allocations: 50.53 MB / 356.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1778/0.271, allocations: 24.35 MB / 381.2 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01245/0.2835, allocations: 7.405 MB / 388.6 MB, free: 3.797 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004693/0.2882, allocations: 180 kB / 388.8 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01775/0.306, allocations: 8.322 MB / 397.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.011/0.317, allocations: 2.684 MB / 399.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005312/0.3224, allocations: 1.613 MB / 401.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0138/0.3362, allocations: 10.73 MB / 412.1 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03066/0.3669, allocations: 18.15 MB / 430.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00942/0.3764, allocations: 4.915 MB / 435.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009954/0.3864, allocations: 5.96 MB / 441.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004355/0.3908, allocations: 1.078 MB / 442.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006485/0.3973, allocations: 1.461 MB / 443.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003996/0.4013, allocations: 2.559 MB / 446.2 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00973/0.411, allocations: 5.477 MB / 451.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02234/0.4334, allocations: 21.86 MB / 473.6 MB, free: 7.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.4335, allocations: 0 / 473.6 MB, free: 7.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.028e-06/0.4335, allocations: 0 / 473.6 MB, free: 7.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005412/0.434, allocations: 3.938 kB / 473.6 MB, free: 7.609 MB / 382.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.03817/0.4722, allocations: 12.82 MB / 486.4 MB, free: 10.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.4723, allocations: 8.031 kB / 486.4 MB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03586/0.5081, allocations: 6.162 MB / 492.6 MB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01502/0.5232, allocations: 6.73 MB / 499.3 MB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007743/0.524, allocations: 0.7025 MB / 500 MB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003456/0.5275, allocations: 0.9218 MB / 0.4892 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03157/0.5591, allocations: 15.76 MB / 0.5046 GB, free: 12.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002037/0.5593, allocations: 19.89 kB / 0.5046 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001167/0.5605, allocations: 392 kB / 0.505 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004819/0.561, allocations: 0.5509 MB / 0.5055 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03005/0.591, allocations: 14.77 MB / 0.5199 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4176/1.009, allocations: 52.65 MB / 0.5713 GB, free: 101.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01706/1.026, allocations: 26.48 MB / 0.5972 GB, free: 76.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004384/1.03, allocations: 3.254 MB / 0.6004 GB, free: 74.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003657/1.031, allocations: 252 kB / 0.6006 GB, free: 74.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/1.031, allocations: 76.64 kB / 0.6007 GB, free: 74.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=404): time 5.801e-06/1.031, allocations: 0 / 0.6007 GB, free: 74.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=410): time 0.05581/1.086, allocations: 17.25 MB / 0.6175 GB, free: 60.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/1.087, allocations: 98.53 kB / 0.6176 GB, free: 60.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0075/1.094, allocations: 3.688 MB / 0.6212 GB, free: 56.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001014/1.095, allocations: 89.7 kB / 0.6213 GB, free: 56.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002692/1.098, allocations: 3.981 MB / 0.6252 GB, free: 52.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001794/1.1, allocations: 1.39 MB / 0.6266 GB, free: 51.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002241/1.102, allocations: 1.144 MB / 0.6277 GB, free: 50.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.798e-05/1.102, allocations: 305.1 kB / 0.628 GB, free: 50.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006334/1.108, allocations: 2.826 MB / 0.6307 GB, free: 47.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007769/1.116, allocations: 4.996 MB / 0.6356 GB, free: 41.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01456/1.131, allocations: 8.374 MB / 0.6438 GB, free: 31.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.691e-05/1.131, allocations: 20 kB / 0.6438 GB, free: 31.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02421/1.155, allocations: 9.147 MB / 0.6527 GB, free: 22.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.993e-05/1.155, allocations: 32 kB / 0.6528 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001202/1.155, allocations: 72 kB / 0.6528 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005433/1.161, allocations: 1.192 MB / 0.654 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008642/1.169, allocations: 1.33 MB / 0.6553 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02091/1.19, allocations: 9.106 MB / 0.6642 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007146/1.198, allocations: 335.4 kB / 0.6645 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001458/1.199, allocations: 288 kB / 0.6648 GB, free: 10.16 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.009589/1.209, allocations: 3.716 MB / 0.6684 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/1.21, allocations: 403 kB / 0.6688 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/1.222, allocations: 6.752 MB / 0.6754 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009805/1.232, allocations: 5.639 MB / 0.6809 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-05/1.232, allocations: 11.94 kB / 0.6809 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.957e-05/1.232, allocations: 19.92 kB / 0.6809 GB, free: 9.547 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03052/1.263, allocations: 16.17 MB / 0.6967 GB, free: 9.203 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-05/1.263, allocations: 8.125 kB / 0.6967 GB, free: 9.195 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002983/1.266, allocations: 0.7216 MB / 0.6974 GB, free: 8.473 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003254/1.269, allocations: 1.082 MB / 0.6985 GB, free: 7.383 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005801/1.27, allocations: 87.98 kB / 0.6986 GB, free: 7.297 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1939/1.464, allocations: 8.055 MB / 0.7064 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/1.464, allocations: 16.09 kB / 0.7064 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01664/1.48, allocations: 9.933 MB / 0.7161 GB, free: 147 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002951/1.483, allocations: 0.9574 MB / 0.7171 GB, free: 146.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005909/1.484, allocations: 77.36 kB / 0.7172 GB, free: 146.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002035/1.486, allocations: 207.3 kB / 0.7174 GB, free: 146.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007201/1.487, allocations: 291 kB / 0.7176 GB, free: 146.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002715/1.487, allocations: 123.3 kB / 0.7178 GB, free: 146.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003891/1.491, allocations: 2.499 MB / 0.7202 GB, free: 145.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.81e-07/1.491, allocations: 0 / 0.7202 GB, free: 145.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00555/1.496, allocations: 1.613 MB / 0.7218 GB, free: 145.4 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.0007256/1.497, allocations: 282.7 kB / 0.722 GB, free: 145.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01052/1.508, allocations: 7.18 MB / 0.729 GB, free: 142.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/1.508, allocations: 7.938 kB / 0.7291 GB, free: 142.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005437/1.513, allocations: 3.401 MB / 0.7324 GB, free: 141.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004486/1.518, allocations: 0.9239 MB / 0.7333 GB, free: 140.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02535/1.543, allocations: 20.58 MB / 0.7534 GB, free: 127.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005311/1.548, allocations: 6.195 MB / 0.7594 GB, free: 122.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005107/1.554, allocations: 1.913 MB / 0.7613 GB, free: 120.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.555, allocations: 343.4 kB / 0.7616 GB, free: 120.5 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/1.555, allocations: 0 / 0.7616 GB, free: 120.5 MB / 478.1 MB Notification: Performance of Templates: time 0.09596/1.651, allocations: 67.07 MB / 0.8271 GB, free: 53.84 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches