Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001631/0.001631, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001656/0.001656, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 230.5 MB / 258.2 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 71.88 kB / 379.1 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3262, allocations: 53.41 MB / 432.5 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.0321/0.3583, allocations: 27.14 MB / 459.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01799/0.3763, allocations: 8.203 MB / 467.8 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005941/0.3822, allocations: 238.8 kB / 468.1 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02393/0.4061, allocations: 9.51 MB / 477.6 MB, free: 9.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0127/0.4188, allocations: 3.45 MB / 481 MB, free: 6.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006836/0.4257, allocations: 1.864 MB / 482.9 MB, free: 4.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02111/0.4468, allocations: 12.37 MB / 495.3 MB, free: 7.766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03582/0.4826, allocations: 16.04 MB / 0.4993 GB, free: 7.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01245/0.4951, allocations: 6.62 MB / 0.5058 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01523/0.5103, allocations: 7.312 MB / 0.5129 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005889/0.5162, allocations: 1.84 MB / 0.5147 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008754/0.5249, allocations: 2.234 MB / 0.5169 GB, free: 5.492 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007322/0.5323, allocations: 3.616 MB / 0.5204 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01472/0.547, allocations: 6.927 MB / 0.5272 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2996/0.8466, allocations: 24.81 MB / 0.5514 GB, free: 43.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.8466, allocations: 4.641 kB / 0.5514 GB, free: 43.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.8466, allocations: 2.406 kB / 0.5514 GB, free: 43.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008412/0.8475, allocations: 0 / 0.5514 GB, free: 43.54 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.0514/0.8989, allocations: 14.69 MB / 0.5658 GB, free: 37.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.8989, allocations: 10.22 kB / 0.5658 GB, free: 37.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04644/0.9454, allocations: 8.436 MB / 0.574 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01937/0.9647, allocations: 7.772 MB / 0.5816 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007225/0.9655, allocations: 0.8033 MB / 0.5824 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006082/0.9716, allocations: 1.058 MB / 0.5834 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05097/1.023, allocations: 18.34 MB / 0.6013 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004221/1.023, allocations: 19.91 kB / 0.6014 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005427/1.028, allocations: 448.8 kB / 0.6018 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005725/1.029, allocations: 0.6711 MB / 0.6024 GB, free: 9.617 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04217/1.071, allocations: 17.59 MB / 0.6196 GB, free: 8.02 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1242/1.195, allocations: 56.89 MB / 0.6752 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02694/1.222, allocations: 12.83 MB / 0.6877 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007969/1.23, allocations: 3.749 MB / 0.6914 GB, free: 468 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007338/1.231, allocations: 155.2 kB / 0.6915 GB, free: 340 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/1.231, allocations: 90.62 kB / 0.6916 GB, free: 236 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=518): time 1.113e-05/1.231, allocations: 0 / 0.6916 GB, free: 236 kB / 0.5137 GB Notification: Performance of matching and sorting (n=524): time 0.062/1.293, allocations: 21.46 MB / 0.7126 GB, free: 10.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/1.293, allocations: 103.5 kB / 0.7127 GB, free: 10.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009958/1.303, allocations: 4.199 MB / 0.7168 GB, free: 6.301 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001221/1.304, allocations: 105.7 kB / 0.7169 GB, free: 6.191 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004295/1.309, allocations: 4.669 MB / 0.7214 GB, free: 1.512 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002953/1.312, allocations: 1.868 MB / 0.7232 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002687/1.314, allocations: 1.371 MB / 0.7246 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.315, allocations: 301.1 kB / 0.7249 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006125/1.321, allocations: 3.445 MB / 0.7282 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009289/1.33, allocations: 5.885 MB / 0.734 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01671/1.347, allocations: 10.04 MB / 0.7438 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001159/1.347, allocations: 24 kB / 0.7438 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.3223/1.669, allocations: 10.95 MB / 0.7545 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.323e-05/1.669, allocations: 39.11 kB / 0.7546 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001539/1.669, allocations: 77.91 kB / 0.7546 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003697/1.673, allocations: 1.443 MB / 0.756 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006141/1.679, allocations: 1.626 MB / 0.7576 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0153/1.694, allocations: 11.4 MB / 0.7688 GB, free: 198.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005851/1.7, allocations: 406.9 kB / 0.7691 GB, free: 198.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/1.701, allocations: 340.3 kB / 0.7695 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.007277/1.709, allocations: 4.163 MB / 0.7735 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/1.71, allocations: 0.4892 MB / 0.774 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/1.723, allocations: 8.451 MB / 0.7823 GB, free: 192.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009979/1.733, allocations: 7.072 MB / 0.7892 GB, free: 190.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.226e-05/1.733, allocations: 10.62 kB / 0.7892 GB, free: 190.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.526e-05/1.733, allocations: 30.67 kB / 0.7892 GB, free: 190.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03013/1.763, allocations: 18.81 MB / 0.8076 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-05/1.763, allocations: 4 kB / 0.8076 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003605/1.766, allocations: 0.9481 MB / 0.8085 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003291/1.77, allocations: 1.299 MB / 0.8098 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005492/1.77, allocations: 116 kB / 0.8099 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0123/1.783, allocations: 10.09 MB / 0.8197 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.783, allocations: 7.938 kB / 0.8198 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01727/1.8, allocations: 12.29 MB / 0.8318 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003728/1.804, allocations: 1.137 MB / 0.8329 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001188/1.805, allocations: 95.98 kB / 0.833 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002958/1.808, allocations: 271.8 kB / 0.8332 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000786/1.808, allocations: 372.2 kB / 0.8336 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000324/1.809, allocations: 155.9 kB / 0.8337 GB, free: 150 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004196/1.813, allocations: 2.824 MB / 0.8365 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.813, allocations: 0 / 0.8365 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008277/1.821, allocations: 1.934 MB / 0.8384 GB, free: 145.2 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.001147/1.822, allocations: 301.7 kB / 0.8387 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01324/1.836, allocations: 8.403 MB / 0.8469 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.836, allocations: 0 / 0.8469 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006937/1.843, allocations: 3.904 MB / 0.8507 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006691/1.849, allocations: 1.127 MB / 0.8518 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03225/1.882, allocations: 19.26 MB / 0.8706 GB, free: 112.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008131/1.89, allocations: 6.803 MB / 0.8772 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002234/1.892, allocations: 499.3 kB / 0.8777 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.634e-06/1.892, allocations: 1.312 kB / 0.8777 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.4569/2.349, allocations: 185.1 MB / 1.059 GB, free: 139.8 MB / 0.5762 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 20.172041622921824]