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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 106 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 181.2 kB / 24.46 MB, free: 4.062 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.566/1.566, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.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=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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 55.92 kB / 347.7 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3548, allocations: 49.16 MB / 396.8 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03059/0.3854, allocations: 27.24 MB / 424.1 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02326/0.4086, allocations: 8.037 MB / 432.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00933/0.4179, allocations: 203.2 kB / 432.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02674/0.4447, allocations: 9.51 MB / 441.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01541/0.4601, allocations: 3.517 MB / 445.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006912/0.467, allocations: 1.886 MB / 447.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02255/0.4896, allocations: 12.41 MB / 459.6 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03258/0.5221, allocations: 15.02 MB / 474.7 MB, free: 5.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01475/0.5369, allocations: 6.702 MB / 481.4 MB, free: 14.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01544/0.5523, allocations: 7.371 MB / 488.7 MB, free: 7.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007351/0.5597, allocations: 1.848 MB / 490.6 MB, free: 5.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01016/0.5699, allocations: 2.218 MB / 492.8 MB, free: 3.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008534/0.5784, allocations: 3.686 MB / 496.5 MB, free: 15.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01671/0.5951, allocations: 7 MB / 0.4917 GB, free: 8.293 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03832/0.6334, allocations: 24.84 MB / 0.5159 GB, free: 15.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.6334, allocations: 0 / 0.5159 GB, free: 15.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6334, allocations: 4 kB / 0.5159 GB, free: 15.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008857/0.6343, allocations: 0 / 0.5159 GB, free: 15.38 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.05566/0.69, allocations: 14.85 MB / 0.5304 GB, free: 436 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.69, allocations: 15.92 kB / 0.5305 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05377/0.7438, allocations: 9.52 MB / 0.5398 GB, free: 6.871 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01952/0.7633, allocations: 6.982 MB / 0.5466 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001176/0.7645, allocations: 0.8188 MB / 0.5474 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006032/0.7705, allocations: 1.082 MB / 0.5484 GB, free: 13.9 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4876/1.258, allocations: 18.74 MB / 0.5667 GB, free: 124.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008856/1.259, allocations: 16.3 kB / 0.5668 GB, free: 124.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003891/1.263, allocations: 457.2 kB / 0.5672 GB, free: 124.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001517/1.264, allocations: 0.6969 MB / 0.5679 GB, free: 124.4 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04199/1.306, allocations: 18.23 MB / 0.5857 GB, free: 117.7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1105/1.417, allocations: 57.84 MB / 0.6422 GB, free: 68.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02421/1.441, allocations: 14.79 MB / 0.6566 GB, free: 56.76 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006421/1.448, allocations: 3.897 MB / 0.6604 GB, free: 52.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02555/1.473, allocations: 12.16 MB / 0.6723 GB, free: 40.94 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.028e-05/1.473, allocations: 81.56 kB / 0.6724 GB, free: 40.85 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 7.464e-06/1.473, allocations: 0 / 0.6724 GB, free: 40.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.04566/1.519, allocations: 19.26 MB / 0.6912 GB, free: 21.98 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/1.519, allocations: 94.47 kB / 0.6913 GB, free: 21.88 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008155/1.527, allocations: 4.341 MB / 0.6955 GB, free: 17.57 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008903/1.528, allocations: 89.7 kB / 0.6956 GB, free: 17.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002601/1.53, allocations: 5.003 MB / 0.7005 GB, free: 12.46 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00172/1.532, allocations: 1.414 MB / 0.7018 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003735/1.536, allocations: 1.279 MB / 0.7031 GB, free: 9.746 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.167e-05/1.536, allocations: 301.1 kB / 0.7034 GB, free: 9.449 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005017/1.541, allocations: 3.124 MB / 0.7064 GB, free: 6.32 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006462/1.547, allocations: 5.736 MB / 0.712 GB, free: 15.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01698/1.564, allocations: 9.45 MB / 0.7213 GB, free: 4.672 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.639e-05/1.565, allocations: 27.94 kB / 0.7213 GB, free: 4.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.02358/1.588, allocations: 10.25 MB / 0.7313 GB, free: 10.36 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001432/1.588, allocations: 45 kB / 0.7313 GB, free: 10.32 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002243/1.588, allocations: 88 kB / 0.7314 GB, free: 10.23 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004575/1.593, allocations: 1.448 MB / 0.7328 GB, free: 8.777 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005917/1.599, allocations: 1.462 MB / 0.7343 GB, free: 7.312 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02033/1.619, allocations: 11.38 MB / 0.7454 GB, free: 11.81 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005619/1.625, allocations: 403.5 kB / 0.7458 GB, free: 11.42 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00139/1.626, allocations: 324 kB / 0.7461 GB, free: 11.1 MB / 0.5138 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.009511/1.636, allocations: 4.18 MB / 0.7502 GB, free: 6.906 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001814/1.638, allocations: 469 kB / 0.7506 GB, free: 6.445 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01757/1.655, allocations: 7.312 MB / 0.7577 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01195/1.667, allocations: 5.996 MB / 0.7636 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.123e-05/1.667, allocations: 8 kB / 0.7636 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.056e-05/1.667, allocations: 23.92 kB / 0.7636 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2856/1.953, allocations: 16.36 MB / 0.7796 GB, free: 173 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/1.953, allocations: 0 / 0.7796 GB, free: 173 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003108/1.956, allocations: 0.728 MB / 0.7803 GB, free: 173 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004054/1.96, allocations: 1.295 MB / 0.7816 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005111/1.96, allocations: 89.3 kB / 0.7817 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01438/1.975, allocations: 10.1 MB / 0.7915 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/1.975, allocations: 2.531 kB / 0.7915 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0159/1.991, allocations: 10.52 MB / 0.8018 GB, free: 163.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002904/1.994, allocations: 1.01 MB / 0.8028 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007123/1.994, allocations: 71.47 kB / 0.8029 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002303/1.997, allocations: 251.1 kB / 0.8031 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007957/1.997, allocations: 284.5 kB / 0.8034 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002715/1.998, allocations: 117.9 kB / 0.8035 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004037/2.002, allocations: 2.908 MB / 0.8063 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/2.002, allocations: 3.828 kB / 0.8063 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006707/2.009, allocations: 1.848 MB / 0.8081 GB, free: 161.5 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.000752/2.009, allocations: 259.9 kB / 0.8084 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01226/2.022, allocations: 7.576 MB / 0.8158 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/2.022, allocations: 6.75 kB / 0.8158 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008279/2.03, allocations: 3.375 MB / 0.8191 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008508/2.038, allocations: 1.096 MB / 0.8201 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04327/2.082, allocations: 19.18 MB / 0.8389 GB, free: 139 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01211/2.094, allocations: 7.031 MB / 0.8457 GB, free: 132.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00637/2.1, allocations: 2.244 MB / 0.8479 GB, free: 130.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/2.101, allocations: 371.4 kB / 0.8483 GB, free: 130.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.082e-06/2.101, allocations: 0 / 0.8483 GB, free: 130.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.1105/2.212, allocations: 77.86 MB / 0.9243 GB, free: 52.49 MB / 0.5294 GB " [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.761464705690742]