Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.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.001543/0.001543, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001612/0.001612, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.496/1.496, allocations: 230.4 MB / 258.1 MB, free: 8.156 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-beta.om/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.SynchronousMachines.SMPM_MTPA,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quadraticSpeedDependentTorqueQS.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quadraticSpeedDependentTorqueQS.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.83 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.208, allocations: 53.31 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA): time 0.03287/0.2409, allocations: 28.81 MB / 460.9 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01596/0.2568, allocations: 8.526 MB / 469.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003682/0.2605, allocations: 211.4 kB / 469.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01825/0.2787, allocations: 8.28 MB / 477.9 MB, free: 9.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008219/0.287, allocations: 2.848 MB / 480.8 MB, free: 6.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004439/0.2914, allocations: 1.905 MB / 482.7 MB, free: 4.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01139/0.3028, allocations: 10.04 MB / 492.7 MB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01866/0.3214, allocations: 13.17 MB / 0.494 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006521/0.328, allocations: 5.381 MB / 0.4993 GB, free: 7.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008032/0.336, allocations: 6.14 MB / 0.5053 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001915/0.3379, allocations: 1.543 MB / 0.5068 GB, free: 176 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003055/0.341, allocations: 1.922 MB / 0.5087 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002611/0.3436, allocations: 2.985 MB / 0.5116 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005984/0.3496, allocations: 5.856 MB / 0.5173 GB, free: 5.375 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02054/0.3701, allocations: 20.68 MB / 0.5375 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.3701, allocations: 7.938 kB / 0.5375 GB, free: 0.625 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3701, allocations: 0 / 0.5375 GB, free: 0.625 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002622/0.3704, allocations: 0 / 0.5375 GB, free: 0.625 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: 2599 * Number of variables: 2599 Notification: Performance of Generate backend data structure: time 0.2094/0.5798, allocations: 12.09 MB / 0.5493 GB, free: 88.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.5798, allocations: 7.906 kB / 0.5493 GB, free: 88.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02997/0.6098, allocations: 5.603 MB / 0.5548 GB, free: 86.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01275/0.6226, allocations: 6.341 MB / 0.561 GB, free: 80.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005139/0.6231, allocations: 0.6944 MB / 0.5616 GB, free: 79.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003028/0.6261, allocations: 0.9244 MB / 0.5625 GB, free: 78.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02918/0.6553, allocations: 15.1 MB / 0.5773 GB, free: 63.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003442/0.6556, allocations: 19.84 kB / 0.5773 GB, free: 63.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002133/0.6578, allocations: 400.8 kB / 0.5777 GB, free: 63.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003655/0.6581, allocations: 0.5155 MB / 0.5782 GB, free: 62.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02149/0.6796, allocations: 13.78 MB / 0.5917 GB, free: 49.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05995/0.7396, allocations: 47.64 MB / 0.6382 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02534/0.7649, allocations: 28.23 MB / 0.6658 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004761/0.7697, allocations: 2.804 MB / 0.6685 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004824/0.7702, allocations: 342.2 kB / 0.6688 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.051e-05/0.7702, allocations: 73.58 kB / 0.6689 GB, free: 13.22 MB / 494.1 MB Notification: Performance of pre-optimization done (n=384): time 6.372e-06/0.7702, allocations: 0 / 0.6689 GB, free: 13.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=392): time 0.03261/0.8028, allocations: 14.9 MB / 0.6834 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.8029, allocations: 90.48 kB / 0.6835 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00613/0.809, allocations: 3.603 MB / 0.687 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002543/0.8093, allocations: 89.7 kB / 0.6871 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003202/0.8125, allocations: 4.192 MB / 0.6912 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001307/0.8138, allocations: 1.398 MB / 0.6926 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001919/0.8157, allocations: 1.18 MB / 0.6937 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.8158, allocations: 309.1 kB / 0.694 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004228/0.8201, allocations: 2.596 MB / 0.6966 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006185/0.8263, allocations: 5.087 MB / 0.7015 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/0.8371, allocations: 8.356 MB / 0.7097 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.548e-05/0.8371, allocations: 24 kB / 0.7097 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01442/0.8516, allocations: 8.653 MB / 0.7182 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.227e-05/0.8516, allocations: 40.88 kB / 0.7182 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/0.8517, allocations: 87.94 kB / 0.7183 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002385/0.8541, allocations: 0.842 MB / 0.7191 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004706/0.8588, allocations: 1.373 MB / 0.7205 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/0.8706, allocations: 7.689 MB / 0.728 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00388/0.8744, allocations: 331.5 kB / 0.7283 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004894/0.8749, allocations: 312 kB / 0.7286 GB, free: 13.37 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 378 * 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 (722): * Single equations (assignments): 721 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(8,40,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005433/0.8804, allocations: 3.513 MB / 0.732 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008727/0.8812, allocations: 437.2 kB / 0.7324 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/0.892, allocations: 5.953 MB / 0.7382 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.507e-05/0.892, allocations: 23.91 kB / 0.7383 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/0.892, allocations: 0 / 0.7383 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002094/0.8941, allocations: 0.9159 MB / 0.7392 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005051/0.8946, allocations: 71.88 kB / 0.7392 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/0.8964, allocations: 187.7 kB / 0.7394 GB, free: 2.203 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004511/0.8968, allocations: 282.9 kB / 0.7397 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3616/1.258, allocations: 5.611 MB / 0.7452 GB, free: 180.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008535/1.267, allocations: 7.456 MB / 0.7524 GB, free: 178.4 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002184/1.269, allocations: 2.146 MB / 0.7545 GB, free: 177.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002898/1.272, allocations: 2.417 MB / 0.7569 GB, free: 176.7 MB / 0.545 GB Notification: Performance of Backend: time 1.9e-07/1.272, allocations: 0 / 0.7569 GB, free: 176.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007619/1.28, allocations: 4.656 MB / 0.7614 GB, free: 175 MB / 0.545 GB Notification: Performance of SimCode: time 0.02086/1.301, allocations: 15.37 MB / 0.7765 GB, free: 165.8 MB / 0.545 GB Notification: Performance of Templates: time 0.1011/1.402, allocations: 76.01 MB / 0.8507 GB, free: 93.12 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_MTPA/SMPM_MTPA.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.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: 7.304358157329261]