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.IMS_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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 103.5 kB / 16.51 MB, free: 6.641 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.001037/0.001037, allocations: 195.1 kB / 17.42 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.286/1.286, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009397/0.0009397, allocations: 51.2 kB / 300 MB, free: 6.324 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08/0.08096, allocations: 49.45 MB / 349.4 MB, free: 4.863 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1729/0.2539, allocations: 26.47 MB / 375.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01405/0.268, allocations: 7.988 MB / 383.9 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005089/0.2732, allocations: 188.3 kB / 384.1 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01755/0.2908, allocations: 8.853 MB / 392.9 MB, free: 4.891 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.3009, allocations: 3.054 MB / 396 MB, free: 2.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004887/0.3058, allocations: 1.698 MB / 397.7 MB, free: 1.598 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01448/0.3203, allocations: 12.22 MB / 409.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03072/0.351, allocations: 20.22 MB / 430.1 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009111/0.3602, allocations: 5.596 MB / 435.7 MB, free: 144 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01049/0.3707, allocations: 6.855 MB / 442.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003501/0.3743, allocations: 1.219 MB / 443.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005406/0.3797, allocations: 1.581 MB / 445.4 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003696/0.3834, allocations: 2.972 MB / 448.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009839/0.3932, allocations: 6.263 MB / 454.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02198/0.4153, allocations: 24.2 MB / 478.8 MB, free: 4.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.4153, allocations: 0 / 478.8 MB, free: 4.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4153, allocations: 0 / 478.8 MB, free: 4.914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005461/0.4159, allocations: 0 / 478.8 MB, free: 4.914 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04088/0.4567, allocations: 14.56 MB / 493.4 MB, free: 6.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.4568, allocations: 12.03 kB / 493.4 MB, free: 6.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04754/0.5044, allocations: 8.434 MB / 0.49 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01478/0.5192, allocations: 7.445 MB / 0.4973 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000763/0.52, allocations: 0.8107 MB / 0.4981 GB, free: 5.441 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003691/0.5237, allocations: 1.062 MB / 0.4991 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04011/0.5638, allocations: 18.31 MB / 0.517 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003957/0.5642, allocations: 7.906 kB / 0.517 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002821/0.5671, allocations: 452 kB / 0.5175 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007305/0.5678, allocations: 0.6711 MB / 0.5181 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3265/0.8943, allocations: 17.53 MB / 0.5352 GB, free: 111.3 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07746/0.9718, allocations: 58.71 MB / 0.5926 GB, free: 63.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02167/0.9935, allocations: 37.49 MB / 0.6292 GB, free: 22.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005499/0.999, allocations: 4.157 MB / 0.6332 GB, free: 18.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003949/0.9995, allocations: 192.1 kB / 0.6334 GB, free: 17.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.07e-05/0.9995, allocations: 86.64 kB / 0.6335 GB, free: 17.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=524): time 7.133e-06/0.9996, allocations: 0 / 0.6335 GB, free: 17.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=530): time 0.04153/1.041, allocations: 21.81 MB / 0.6548 GB, free: 11.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/1.041, allocations: 103.5 kB / 0.6549 GB, free: 11.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005963/1.047, allocations: 4.171 MB / 0.659 GB, free: 7.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006681/1.048, allocations: 113.6 kB / 0.6591 GB, free: 7.383 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002626/1.05, allocations: 4.503 MB / 0.6635 GB, free: 2.852 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00174/1.052, allocations: 1.792 MB / 0.6652 GB, free: 1.074 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001996/1.054, allocations: 1.355 MB / 0.6666 GB, free: 15.71 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.496e-05/1.054, allocations: 309.1 kB / 0.6669 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005175/1.06, allocations: 3.477 MB / 0.6703 GB, free: 11.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007268/1.067, allocations: 5.913 MB / 0.676 GB, free: 4.922 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01344/1.08, allocations: 10.08 MB / 0.6859 GB, free: 9.676 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.369e-05/1.08, allocations: 24 kB / 0.6859 GB, free: 9.652 MB / 478.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.1925/1.273, allocations: 10.99 MB / 0.6966 GB, free: 144.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.132e-05/1.273, allocations: 41.77 kB / 0.6967 GB, free: 144.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001416/1.273, allocations: 80.28 kB / 0.6967 GB, free: 144.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004451/1.278, allocations: 1.394 MB / 0.6981 GB, free: 144.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006485/1.284, allocations: 1.614 MB / 0.6997 GB, free: 144.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01598/1.3, allocations: 10.58 MB / 0.71 GB, free: 141.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004806/1.305, allocations: 410.4 kB / 0.7104 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009979/1.306, allocations: 337.3 kB / 0.7107 GB, free: 141 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (843): * Single equations (assignments): 838 * 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,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00631/1.312, allocations: 4.171 MB / 0.7148 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/1.313, allocations: 474.7 kB / 0.7152 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01278/1.326, allocations: 8.526 MB / 0.7236 GB, free: 135.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01067/1.337, allocations: 7.132 MB / 0.7305 GB, free: 132.9 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-05/1.337, allocations: 15.39 kB / 0.7305 GB, free: 132.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-05/1.337, allocations: 27.66 kB / 0.7306 GB, free: 132.9 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03158/1.369, allocations: 19.39 MB / 0.7495 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/1.369, allocations: 5.969 kB / 0.7495 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0037/1.372, allocations: 0.9366 MB / 0.7504 GB, free: 123.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003174/1.376, allocations: 1.256 MB / 0.7517 GB, free: 122.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006384/1.376, allocations: 110 kB / 0.7518 GB, free: 122.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01115/1.387, allocations: 9.31 MB / 0.7609 GB, free: 113.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.387, allocations: 4 kB / 0.7609 GB, free: 113.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0171/1.405, allocations: 12.36 MB / 0.7729 GB, free: 100.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002723/1.407, allocations: 1.163 MB / 0.7741 GB, free: 99.66 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001014/1.408, allocations: 95.75 kB / 0.7742 GB, free: 99.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002599/1.411, allocations: 275.8 kB / 0.7744 GB, free: 99.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007435/1.412, allocations: 356 kB / 0.7748 GB, free: 98.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003137/1.412, allocations: 152 kB / 0.7749 GB, free: 98.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003868/1.416, allocations: 2.811 MB / 0.7776 GB, free: 95.98 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.416, allocations: 0 / 0.7776 GB, free: 95.98 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007392/1.423, allocations: 1.934 MB / 0.7795 GB, free: 94.05 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.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 (502): * Single equations (assignments): 497 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009735/1.424, allocations: 320.5 kB / 0.7798 GB, free: 93.74 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01325/1.438, allocations: 8.776 MB / 0.7884 GB, free: 84.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/1.438, allocations: 0 / 0.7884 GB, free: 84.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006416/1.444, allocations: 4.229 MB / 0.7925 GB, free: 80.66 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005132/1.449, allocations: 1.061 MB / 0.7936 GB, free: 79.62 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0294/1.479, allocations: 23.99 MB / 0.817 GB, free: 55.54 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007267/1.486, allocations: 7.009 MB / 0.8239 GB, free: 48.48 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00641/1.492, allocations: 2.321 MB / 0.8261 GB, free: 46.15 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/1.494, allocations: 419.3 kB / 0.8265 GB, free: 45.74 MB / 478.1 MB Notification: Performance of SimCode: time 1.061e-06/1.494, allocations: 0 / 0.8265 GB, free: 45.74 MB / 478.1 MB Notification: Performance of Templates: time 0.295/1.789, allocations: 80 MB / 0.9046 GB, free: 126.5 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches