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.001452/0.001452, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.001509/0.001509, allocations: 170.8 kB / 25.03 MB, free: 8.43 MB / 18.57 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.462/1.462, allocations: 158.6 MB / 186.8 MB, free: 2.852 MB / 170.7 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: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 250.4 MB, free: 3.906 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.368e-05/3.57e-05, allocations: 6.25 kB / 250.4 MB, free: 3.898 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03322/0.03326, allocations: 23.27 MB / 273.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02193/0.05519, allocations: 7.767 MB / 281.4 MB, free: 4.715 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006465/0.06166, allocations: 202.9 kB / 281.6 MB, free: 4.516 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02607/0.08773, allocations: 9.227 MB / 290.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01472/0.1025, allocations: 3.477 MB / 294.3 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007224/0.1097, allocations: 1.838 MB / 296.2 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1915/0.3012, allocations: 12.8 MB / 309 MB, free: 16.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0289/0.3301, allocations: 15.92 MB / 324.9 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02202/0.3521, allocations: 9.823 MB / 334.7 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01328/0.3654, allocations: 6.371 MB / 341.1 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00599/0.3714, allocations: 1.84 MB / 342.9 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009208/0.3806, allocations: 2.223 MB / 345.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008877/0.3895, allocations: 3.734 MB / 348.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01718/0.4066, allocations: 4.68 MB / 353.6 MB, free: 9.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05165/0.4583, allocations: 25.14 MB / 378.7 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.737e-05/0.4583, allocations: 0.625 kB / 378.7 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4583, allocations: 0 / 378.7 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0008845/0.4592, allocations: 0.8438 kB / 378.7 MB, free: 0.9922 MB / 314.7 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.05644/0.5156, allocations: 14.71 MB / 393.4 MB, free: 2.324 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.446e-05/0.5157, allocations: 11.98 kB / 393.4 MB, free: 2.312 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05981/0.5755, allocations: 11.58 MB / 405 MB, free: 6.848 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02249/0.598, allocations: 7.229 MB / 412.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001293/0.5993, allocations: 0.8175 MB / 413.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006504/0.6058, allocations: 1.08 MB / 414.1 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06533/0.6711, allocations: 18.96 MB / 433.1 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004909/0.6716, allocations: 15.91 kB / 433.1 MB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005252/0.6769, allocations: 454.1 kB / 433.6 MB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001212/0.6781, allocations: 0.6988 MB / 434.3 MB, free: 9.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3611/1.039, allocations: 18.11 MB / 452.4 MB, free: 115.1 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09804/1.137, allocations: 52.58 MB / 0.4931 GB, free: 77.29 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02352/1.161, allocations: 14.67 MB / 0.5074 GB, free: 65.39 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005884/1.167, allocations: 3.892 MB / 0.5112 GB, free: 61.48 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01879/1.185, allocations: 11.2 MB / 0.5222 GB, free: 50.5 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/1.185, allocations: 69.58 kB / 0.5222 GB, free: 50.43 MB / 378.8 MB Notification: Performance of pre-optimization done (n=385): time 7.674e-06/1.185, allocations: 0 / 0.5222 GB, free: 50.43 MB / 378.8 MB Notification: Performance of matching and sorting (n=391): time 0.03934/1.225, allocations: 19.18 MB / 0.541 GB, free: 31.62 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/1.225, allocations: 102.3 kB / 0.5411 GB, free: 31.51 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004781/1.23, allocations: 4.174 MB / 0.5451 GB, free: 27.47 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000536/1.23, allocations: 93.7 kB / 0.5452 GB, free: 27.38 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002143/1.232, allocations: 4.992 MB / 0.5501 GB, free: 22.41 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001079/1.233, allocations: 1.397 MB / 0.5515 GB, free: 21.04 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001603/1.235, allocations: 1.271 MB / 0.5527 GB, free: 19.75 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.271e-05/1.235, allocations: 301.1 kB / 0.553 GB, free: 19.46 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003805/1.239, allocations: 3.112 MB / 0.556 GB, free: 16.34 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004628/1.243, allocations: 5.742 MB / 0.5616 GB, free: 9.367 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009978/1.253, allocations: 9.425 MB / 0.5709 GB, free: 14.71 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.958e-05/1.254, allocations: 24 kB / 0.5709 GB, free: 14.69 MB / 394.8 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.0234/1.277, allocations: 10.49 MB / 0.5811 GB, free: 4.168 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/1.277, allocations: 44.38 kB / 0.5812 GB, free: 4.125 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002433/1.277, allocations: 95.94 kB / 0.5813 GB, free: 4.031 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005497/1.283, allocations: 1.632 MB / 0.5828 GB, free: 2.395 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006369/1.289, allocations: 1.462 MB / 0.5843 GB, free: 0.9297 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1576/1.447, allocations: 10.96 MB / 0.595 GB, free: 115.8 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005631/1.452, allocations: 399.6 kB / 0.5954 GB, free: 115.7 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001464/1.454, allocations: 331.8 kB / 0.5957 GB, free: 115.6 MB / 394.8 MB 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.008576/1.462, allocations: 4.174 MB / 0.5998 GB, free: 113.7 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001546/1.464, allocations: 0.5599 MB / 0.6003 GB, free: 113.7 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/1.476, allocations: 7.255 MB / 0.6074 GB, free: 110.9 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009073/1.485, allocations: 5.964 MB / 0.6132 GB, free: 108.6 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.539e-05/1.485, allocations: 10.91 kB / 0.6132 GB, free: 108.6 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.051e-05/1.485, allocations: 20.86 kB / 0.6132 GB, free: 108.6 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02456/1.51, allocations: 13.79 MB / 0.6267 GB, free: 103 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/1.51, allocations: 0 / 0.6267 GB, free: 103 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003042/1.513, allocations: 0.7245 MB / 0.6274 GB, free: 102.4 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004019/1.517, allocations: 1.457 MB / 0.6288 GB, free: 101.4 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000577/1.517, allocations: 87.17 kB / 0.6289 GB, free: 101.3 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/1.529, allocations: 9.732 MB / 0.6384 GB, free: 92.85 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/1.529, allocations: 0 / 0.6384 GB, free: 92.85 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01588/1.545, allocations: 10.59 MB / 0.6488 GB, free: 82.51 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002635/1.548, allocations: 0.9693 MB / 0.6497 GB, free: 81.79 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001104/1.549, allocations: 72 kB / 0.6498 GB, free: 81.71 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002781/1.551, allocations: 250.9 kB / 0.65 GB, free: 81.47 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007471/1.552, allocations: 283.4 kB / 0.6503 GB, free: 81.2 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000299/1.552, allocations: 116 kB / 0.6504 GB, free: 81.08 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.004951/1.557, allocations: 2.665 MB / 0.653 GB, free: 78.44 MB / 394.8 MB Notification: Performance of sort global known variables: time 2.71e-07/1.557, allocations: 0 / 0.653 GB, free: 78.44 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.00789/1.565, allocations: 1.824 MB / 0.6548 GB, free: 76.62 MB / 394.8 MB 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.0008345/1.566, allocations: 261.5 kB / 0.655 GB, free: 76.37 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.01279/1.579, allocations: 7.544 MB / 0.6624 GB, free: 68.84 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.579, allocations: 1 kB / 0.6624 GB, free: 68.84 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006041/1.585, allocations: 3.37 MB / 0.6657 GB, free: 65.48 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008896/1.594, allocations: 0.9932 MB / 0.6667 GB, free: 64.54 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03952/1.633, allocations: 19.32 MB / 0.6855 GB, free: 45.12 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008829/1.642, allocations: 6.603 MB / 0.692 GB, free: 38.46 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.005862/1.648, allocations: 2.226 MB / 0.6942 GB, free: 36.23 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/1.649, allocations: 356.4 kB / 0.6945 GB, free: 35.88 MB / 394.8 MB Notification: Performance of SimCode: time 1.463e-06/1.649, allocations: 0 / 0.6945 GB, free: 35.88 MB / 394.8 MB Notification: Performance of Templates: time 0.2599/1.909, allocations: 63.67 MB / 0.7567 GB, free: 102.1 MB / 394.8 MB " [Timeout remaining time 658] 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/jenkins/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/jenkins/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: 8.257238714955747]