Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001328/0.001328, allocations: 112.5 kB / 21.19 MB, free: 0.7461 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.001514/0.001514, allocations: 213.7 kB / 24.5 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.399/1.399, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 55.91 kB / 379.1 MB, free: 2.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2185, allocations: 53.36 MB / 432.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.0306/0.2491, allocations: 27.16 MB / 459.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01641/0.2655, allocations: 8.195 MB / 467.8 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004942/0.2704, allocations: 234.8 kB / 468 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02204/0.2925, allocations: 9.518 MB / 477.5 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.303, allocations: 3.451 MB / 481 MB, free: 6.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005507/0.3086, allocations: 1.877 MB / 482.9 MB, free: 4.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0173/0.3259, allocations: 12.38 MB / 495.2 MB, free: 7.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02926/0.3551, allocations: 16.03 MB / 0.4993 GB, free: 7.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01103/0.3661, allocations: 6.64 MB / 0.5058 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01229/0.3784, allocations: 7.312 MB / 0.5129 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00474/0.3832, allocations: 1.84 MB / 0.5147 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006484/0.3897, allocations: 2.226 MB / 0.5169 GB, free: 5.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005463/0.3951, allocations: 3.616 MB / 0.5204 GB, free: 1.977 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01173/0.4069, allocations: 6.926 MB / 0.5272 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2231/0.63, allocations: 24.81 MB / 0.5514 GB, free: 43.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.63, allocations: 0 / 0.5514 GB, free: 43.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.63, allocations: 3.344 kB / 0.5514 GB, free: 43.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006338/0.6306, allocations: 0 / 0.5514 GB, free: 43.55 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.03999/0.6706, allocations: 14.69 MB / 0.5658 GB, free: 37.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.6706, allocations: 9.562 kB / 0.5658 GB, free: 37.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04404/0.7147, allocations: 8.437 MB / 0.574 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/0.7309, allocations: 7.777 MB / 0.5816 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005531/0.7314, allocations: 0.8009 MB / 0.5824 GB, free: 29.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004284/0.7357, allocations: 1.056 MB / 0.5834 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03612/0.7718, allocations: 18.34 MB / 0.6013 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002923/0.7721, allocations: 19.91 kB / 0.6014 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002257/0.7744, allocations: 442.7 kB / 0.6018 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004491/0.7748, allocations: 0.6711 MB / 0.6024 GB, free: 9.699 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03212/0.8069, allocations: 17.59 MB / 0.6196 GB, free: 8.098 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1057/0.9126, allocations: 56.89 MB / 0.6752 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02484/0.9375, allocations: 12.83 MB / 0.6877 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007318/0.9448, allocations: 3.745 MB / 0.6914 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006932/0.9455, allocations: 158.2 kB / 0.6915 GB, free: 436 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001122/0.9456, allocations: 82.62 kB / 0.6916 GB, free: 340 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=518): time 7.955e-06/0.9456, allocations: 0 / 0.6916 GB, free: 340 kB / 0.5137 GB Notification: Performance of matching and sorting (n=524): time 0.05675/1.002, allocations: 21.46 MB / 0.7125 GB, free: 10.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.835e-05/1.002, allocations: 107.5 kB / 0.7126 GB, free: 10.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00806/1.01, allocations: 4.195 MB / 0.7167 GB, free: 6.398 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.00098/1.011, allocations: 105.7 kB / 0.7168 GB, free: 6.289 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00382/1.015, allocations: 4.669 MB / 0.7214 GB, free: 1.609 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002569/1.018, allocations: 1.863 MB / 0.7232 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003943/1.022, allocations: 1.371 MB / 0.7246 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.022, allocations: 307.9 kB / 0.7249 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006435/1.028, allocations: 3.445 MB / 0.7282 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009018/1.037, allocations: 5.888 MB / 0.734 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01646/1.054, allocations: 10.04 MB / 0.7438 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.514e-05/1.054, allocations: 24 kB / 0.7438 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2396/1.294, allocations: 10.95 MB / 0.7545 GB, free: 201.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.421e-05/1.294, allocations: 40.64 kB / 0.7545 GB, free: 201.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001261/1.294, allocations: 78.78 kB / 0.7546 GB, free: 201.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003489/1.297, allocations: 1.448 MB / 0.756 GB, free: 201.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005605/1.303, allocations: 1.623 MB / 0.7576 GB, free: 201.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/1.317, allocations: 11.4 MB / 0.7687 GB, free: 198.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004946/1.322, allocations: 411.8 kB / 0.7691 GB, free: 198.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007954/1.323, allocations: 334.8 kB / 0.7694 GB, free: 198 MB / 0.5762 GB 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 (840): * Single equations (assignments): 838 * 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 prepare postOptimizeDAE: time 0.005772/1.328, allocations: 4.169 MB / 0.7735 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009484/1.329, allocations: 0.4886 MB / 0.774 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/1.341, allocations: 8.446 MB / 0.7822 GB, free: 192.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009345/1.351, allocations: 7.072 MB / 0.7891 GB, free: 190.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/1.351, allocations: 12.06 kB / 0.7892 GB, free: 190.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.654e-05/1.351, allocations: 27.28 kB / 0.7892 GB, free: 190.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02799/1.379, allocations: 18.81 MB / 0.8076 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/1.379, allocations: 0 / 0.8076 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003442/1.382, allocations: 0.9528 MB / 0.8085 GB, free: 176 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003113/1.385, allocations: 1.296 MB / 0.8097 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000493/1.386, allocations: 120 kB / 0.8099 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01171/1.397, allocations: 10.1 MB / 0.8197 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.397, allocations: 7.938 kB / 0.8197 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01621/1.414, allocations: 12.29 MB / 0.8317 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003427/1.417, allocations: 1.133 MB / 0.8328 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001071/1.418, allocations: 92 kB / 0.8329 GB, free: 151 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002807/1.421, allocations: 275.8 kB / 0.8332 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006617/1.422, allocations: 376.2 kB / 0.8336 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002898/1.422, allocations: 151.9 kB / 0.8337 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003383/1.425, allocations: 2.824 MB / 0.8365 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/1.425, allocations: 0 / 0.8365 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00632/1.432, allocations: 1.93 MB / 0.8383 GB, free: 145.5 MB / 0.5762 GB 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 (499): * Single equations (assignments): 497 * 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.0008226/1.432, allocations: 301.7 kB / 0.8386 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01141/1.444, allocations: 8.402 MB / 0.8468 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.444, allocations: 2 kB / 0.8468 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005882/1.45, allocations: 3.908 MB / 0.8507 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005143/1.455, allocations: 1.139 MB / 0.8518 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02635/1.481, allocations: 19.25 MB / 0.8706 GB, free: 112.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005769/1.487, allocations: 6.799 MB / 0.8772 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001984/1.489, allocations: 0.4896 MB / 0.8777 GB, free: 105 MB / 0.5762 GB Notification: Performance of SimCode: time 1.282e-06/1.489, allocations: 0 / 0.8777 GB, free: 105 MB / 0.5762 GB Notification: Performance of Templates: time 0.3818/1.871, allocations: 185.1 MB / 1.058 GB, free: 140.3 MB / 0.5762 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 17.897207353962585]