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.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 111.4 kB / 21.93 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002234/0.002234, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_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=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 55.92 kB / 348.5 MB, free: 9.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3701, allocations: 49.16 MB / 397.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03198/0.402, allocations: 23.25 MB / 420.9 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02466/0.4267, allocations: 7.716 MB / 428.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01005/0.4368, allocations: 197.7 kB / 428.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02501/0.4618, allocations: 8.759 MB / 437.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01609/0.4779, allocations: 3.409 MB / 441 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00786/0.4857, allocations: 1.832 MB / 442.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02451/0.5102, allocations: 12.41 MB / 455.2 MB, free: 9.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04291/0.5531, allocations: 15.88 MB / 471.1 MB, free: 9.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01717/0.5703, allocations: 6.721 MB / 477.8 MB, free: 2.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01802/0.5883, allocations: 7.039 MB / 484.9 MB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008406/0.5967, allocations: 1.848 MB / 486.7 MB, free: 9.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0105/0.6072, allocations: 2.203 MB / 488.9 MB, free: 7.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008776/0.616, allocations: 3.671 MB / 492.6 MB, free: 3.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01807/0.6341, allocations: 5.432 MB / 498 MB, free: 14.37 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04961/0.6837, allocations: 24.89 MB / 0.5106 GB, free: 5.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.6837, allocations: 0 / 0.5106 GB, free: 5.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.6837, allocations: 0 / 0.5106 GB, free: 5.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0009483/0.6847, allocations: 0 / 0.5106 GB, free: 5.41 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.05778/0.7424, allocations: 14.82 MB / 0.5251 GB, free: 6.484 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/0.7425, allocations: 11.98 kB / 0.5251 GB, free: 6.473 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0556/0.7981, allocations: 9.528 MB / 0.5344 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02103/0.8191, allocations: 7.025 MB / 0.5413 GB, free: 5.812 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001132/0.8203, allocations: 0.8188 MB / 0.5421 GB, free: 4.992 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006136/0.8264, allocations: 1.078 MB / 0.5431 GB, free: 3.914 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06494/0.8913, allocations: 18.96 MB / 0.5617 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004499/0.8918, allocations: 15.95 kB / 0.5617 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005495/0.8973, allocations: 455.9 kB / 0.5621 GB, free: 364 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.5446/1.442, allocations: 0.6905 MB / 0.5628 GB, free: 130.4 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0483/1.49, allocations: 18.12 MB / 0.5805 GB, free: 124.7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1066/1.597, allocations: 51.18 MB / 0.6305 GB, free: 81.13 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02579/1.623, allocations: 14.6 MB / 0.6447 GB, free: 69.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00802/1.631, allocations: 3.875 MB / 0.6485 GB, free: 65.41 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02958/1.66, allocations: 11.15 MB / 0.6594 GB, free: 54.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.848e-05/1.66, allocations: 77.58 kB / 0.6595 GB, free: 54.41 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 1.144e-05/1.66, allocations: 0 / 0.6595 GB, free: 54.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.0459/1.706, allocations: 19.03 MB / 0.678 GB, free: 35.78 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.737e-05/1.706, allocations: 98.41 kB / 0.6781 GB, free: 35.67 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009725/1.716, allocations: 4.176 MB / 0.6822 GB, free: 31.62 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00104/1.717, allocations: 93.7 kB / 0.6823 GB, free: 31.52 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00305/1.72, allocations: 5.011 MB / 0.6872 GB, free: 26.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001646/1.722, allocations: 1.417 MB / 0.6886 GB, free: 25.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003487/1.725, allocations: 1.275 MB / 0.6898 GB, free: 23.82 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.821e-05/1.725, allocations: 301.1 kB / 0.6901 GB, free: 23.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004806/1.73, allocations: 3.104 MB / 0.6931 GB, free: 20.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006173/1.736, allocations: 5.753 MB / 0.6988 GB, free: 13.43 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01192/1.748, allocations: 9.419 MB / 0.708 GB, free: 2.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001539/1.748, allocations: 28 kB / 0.708 GB, free: 2.742 MB / 478.1 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.02283/1.771, allocations: 10.18 MB / 0.7179 GB, free: 8.535 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001699/1.771, allocations: 43.94 kB / 0.718 GB, free: 8.492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002358/1.772, allocations: 88 kB / 0.7181 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004144/1.776, allocations: 1.382 MB / 0.7194 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006294/1.782, allocations: 1.458 MB / 0.7208 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02025/1.802, allocations: 10.91 MB / 0.7315 GB, free: 10.53 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006443/1.809, allocations: 395.5 kB / 0.7319 GB, free: 10.14 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001698/1.81, allocations: 332 kB / 0.7322 GB, free: 9.82 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * 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,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01166/1.822, allocations: 4.173 MB / 0.7363 GB, free: 5.633 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001978/1.824, allocations: 449.1 kB / 0.7367 GB, free: 5.191 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01877/1.843, allocations: 7.26 MB / 0.7438 GB, free: 13.89 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01267/1.855, allocations: 5.945 MB / 0.7496 GB, free: 7.922 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.862e-05/1.855, allocations: 12 kB / 0.7496 GB, free: 7.91 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.026e-05/1.856, allocations: 19.92 kB / 0.7496 GB, free: 7.891 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03787/1.893, allocations: 13.79 MB / 0.7631 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.567e-05/1.893, allocations: 4 kB / 0.7631 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003773/1.897, allocations: 0.7256 MB / 0.7638 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003768/1.901, allocations: 1.225 MB / 0.765 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006429/1.902, allocations: 91.91 kB / 0.7651 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3163/2.218, allocations: 9.65 MB / 0.7745 GB, free: 171.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/2.218, allocations: 1.594 kB / 0.7745 GB, free: 171.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02081/2.239, allocations: 10.45 MB / 0.7847 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004069/2.243, allocations: 0.9748 MB / 0.7857 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001424/2.244, allocations: 67.66 kB / 0.7857 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003336/2.248, allocations: 254 kB / 0.786 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009556/2.249, allocations: 286.7 kB / 0.7862 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003192/2.249, allocations: 114.7 kB / 0.7863 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005811/2.255, allocations: 2.669 MB / 0.7889 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/2.255, allocations: 0 / 0.7889 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01011/2.265, allocations: 1.816 MB / 0.7907 GB, free: 168.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (360): * Single equations (assignments): 358 * 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,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.001324/2.266, allocations: 259.2 kB / 0.791 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0147/2.281, allocations: 7.537 MB / 0.7983 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/2.281, allocations: 0 / 0.7983 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007777/2.289, allocations: 3.368 MB / 0.8016 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007566/2.296, allocations: 0.9778 MB / 0.8026 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04189/2.338, allocations: 18.83 MB / 0.821 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01289/2.351, allocations: 6.4 MB / 0.8272 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002573/2.354, allocations: 414.4 kB / 0.8276 GB, free: 148 MB / 0.5294 GB Notification: Performance of SimCode: time 1.282e-06/2.354, allocations: 4 kB / 0.8276 GB, free: 148 MB / 0.5294 GB Notification: Performance of Templates: time 0.4986/2.852, allocations: 182 MB / 1.005 GB, free: 163.4 MB / 0.5294 GB " [Timeout remaining time 657] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.938336706720293]