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.001023/0.001023, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001086/0.001086, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.89 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2598, allocations: 50.54 MB / 409.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02582/0.2857, allocations: 24.79 MB / 434.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.2993, allocations: 7.438 MB / 441.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003762/0.3031, allocations: 191.4 kB / 441.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01863/0.3217, allocations: 8.854 MB / 450.5 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01029/0.332, allocations: 2.952 MB / 453.5 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00489/0.337, allocations: 1.74 MB / 455.2 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01301/0.35, allocations: 10.8 MB / 466 MB, free: 8.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03214/0.3821, allocations: 21.83 MB / 487.9 MB, free: 2.637 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008544/0.3907, allocations: 5.744 MB / 493.6 MB, free: 12.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00938/0.4001, allocations: 6.284 MB / 499.9 MB, free: 6.574 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003763/0.4039, allocations: 1.668 MB / 0.4898 GB, free: 4.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005538/0.4095, allocations: 2.054 MB / 0.4918 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003653/0.4132, allocations: 3.153 MB / 0.4949 GB, free: 15.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007731/0.4209, allocations: 6.094 MB / 0.5009 GB, free: 9.574 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02097/0.4419, allocations: 22.35 MB / 0.5227 GB, free: 3.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4419, allocations: 0 / 0.5227 GB, free: 3.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4419, allocations: 0 / 0.5227 GB, free: 3.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004617/0.4424, allocations: 0 / 0.5227 GB, free: 3.16 MB / 446.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.03464/0.4771, allocations: 12.75 MB / 0.5351 GB, free: 6.309 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4771, allocations: 8.031 kB / 0.5351 GB, free: 6.301 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03473/0.5119, allocations: 6.216 MB / 0.5412 GB, free: 68 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4075/0.9194, allocations: 6.907 MB / 0.548 GB, free: 106.7 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004791/0.9199, allocations: 0.698 MB / 0.5486 GB, free: 106.4 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003113/0.9231, allocations: 0.9174 MB / 0.5495 GB, free: 106.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03454/0.9576, allocations: 15.74 MB / 0.5649 GB, free: 98.8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004491/0.9581, allocations: 19.78 kB / 0.5649 GB, free: 98.79 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003207/0.9613, allocations: 389.9 kB / 0.5653 GB, free: 98.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005033/0.9619, allocations: 0.5553 MB / 0.5658 GB, free: 98.12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02755/0.9894, allocations: 14.77 MB / 0.5803 GB, free: 83.32 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0756/1.065, allocations: 52.03 MB / 0.6311 GB, free: 30.15 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01828/1.083, allocations: 26.47 MB / 0.6569 GB, free: 0.625 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005661/1.089, allocations: 3.206 MB / 0.6601 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006468/1.09, allocations: 256.1 kB / 0.6603 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.761e-05/1.09, allocations: 77.62 kB / 0.6604 GB, free: 13.06 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 8.947e-06/1.09, allocations: 4 kB / 0.6604 GB, free: 13.05 MB / 478.1 MB Notification: Performance of matching and sorting (n=404): time 0.04306/1.133, allocations: 17.29 MB / 0.6773 GB, free: 11.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/1.133, allocations: 98.52 kB / 0.6774 GB, free: 11.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008235/1.141, allocations: 3.692 MB / 0.681 GB, free: 7.891 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007342/1.142, allocations: 93.7 kB / 0.681 GB, free: 7.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003032/1.145, allocations: 3.987 MB / 0.6849 GB, free: 3.781 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00179/1.147, allocations: 1.375 MB / 0.6863 GB, free: 2.418 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003245/1.15, allocations: 1.14 MB / 0.6874 GB, free: 1.266 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/1.15, allocations: 301.1 kB / 0.6877 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00495/1.155, allocations: 2.795 MB / 0.6904 GB, free: 14.17 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006589/1.162, allocations: 4.961 MB / 0.6953 GB, free: 8.211 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/1.174, allocations: 8.31 MB / 0.7034 GB, free: 14.9 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001054/1.174, allocations: 20 kB / 0.7034 GB, free: 14.88 MB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01864/1.193, allocations: 9.088 MB / 0.7123 GB, free: 5.77 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/1.193, allocations: 36 kB / 0.7123 GB, free: 5.734 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001368/1.193, allocations: 72 kB / 0.7124 GB, free: 5.664 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003661/1.197, allocations: 1.23 MB / 0.7136 GB, free: 4.43 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005174/1.202, allocations: 1.322 MB / 0.7149 GB, free: 3.105 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01614/1.218, allocations: 9.907 MB / 0.7245 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004404/1.223, allocations: 339.4 kB / 0.7249 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001238/1.224, allocations: 280 kB / 0.7251 GB, free: 8.469 MB / 0.5294 GB 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 (694): * Single equations (assignments): 692 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008147/1.232, allocations: 3.715 MB / 0.7288 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001399/1.233, allocations: 403 kB / 0.7291 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/1.247, allocations: 6.697 MB / 0.7357 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00988/1.257, allocations: 5.595 MB / 0.7411 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.919e-05/1.257, allocations: 12 kB / 0.7412 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.492e-05/1.257, allocations: 19.92 kB / 0.7412 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2561/1.513, allocations: 15.76 MB / 0.7566 GB, free: 182.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/1.513, allocations: 3.938 kB / 0.7566 GB, free: 182.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00251/1.516, allocations: 0.7238 MB / 0.7573 GB, free: 182.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00273/1.519, allocations: 1.118 MB / 0.7584 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002424/1.519, allocations: 87.44 kB / 0.7585 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009965/1.529, allocations: 8.838 MB / 0.7671 GB, free: 177.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.529, allocations: 11.66 kB / 0.7671 GB, free: 177.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0122/1.541, allocations: 9.849 MB / 0.7767 GB, free: 173.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001831/1.543, allocations: 0.9569 MB / 0.7777 GB, free: 173.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000451/1.543, allocations: 75.44 kB / 0.7777 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/1.545, allocations: 201.8 kB / 0.7779 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005399/1.546, allocations: 286.9 kB / 0.7782 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002202/1.546, allocations: 125.4 kB / 0.7783 GB, free: 173 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003111/1.549, allocations: 2.495 MB / 0.7807 GB, free: 172.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/1.549, allocations: 0 / 0.7807 GB, free: 172.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004305/1.553, allocations: 1.611 MB / 0.7823 GB, free: 171.9 MB / 0.545 GB 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 (389): * Single equations (assignments): 387 * 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,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004764/1.554, allocations: 276.8 kB / 0.7826 GB, free: 171.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009026/1.563, allocations: 7.135 MB / 0.7896 GB, free: 167.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.563, allocations: 6.969 kB / 0.7896 GB, free: 167.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004546/1.567, allocations: 3.392 MB / 0.7929 GB, free: 164.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003972/1.571, allocations: 0.983 MB / 0.7938 GB, free: 163.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02324/1.595, allocations: 16.41 MB / 0.8099 GB, free: 148.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006141/1.601, allocations: 6.195 MB / 0.8159 GB, free: 142.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004203/1.605, allocations: 1.908 MB / 0.8178 GB, free: 140.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000907/1.606, allocations: 345.6 kB / 0.8181 GB, free: 140.4 MB / 0.545 GB Notification: Performance of SimCode: time 7.72e-07/1.606, allocations: 0 / 0.8181 GB, free: 140.4 MB / 0.545 GB Notification: Performance of Templates: time 0.09107/1.697, allocations: 66.2 MB / 0.8827 GB, free: 74.7 MB / 0.545 GB 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