Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.001757/0.001757, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002024/0.002024, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.476/1.476, allocations: 230.5 MB / 258.1 MB, free: 7.789 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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 59.91 kB / 379 MB, free: 2.281 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2783, allocations: 53.41 MB / 432.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.0267/0.305, allocations: 21.36 MB / 453.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01564/0.3206, allocations: 7.174 MB / 461 MB, free: 9.871 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004767/0.3254, allocations: 222.9 kB / 461.2 MB, free: 9.652 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02147/0.3468, allocations: 8.204 MB / 469.4 MB, free: 1.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.3575, allocations: 2.961 MB / 472.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005488/0.3629, allocations: 1.709 MB / 474.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01572/0.3787, allocations: 10.93 MB / 485 MB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02662/0.4053, allocations: 14.18 MB / 499.2 MB, free: 3.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009712/0.415, allocations: 5.861 MB / 0.4932 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01117/0.4262, allocations: 6.077 MB / 0.4991 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004678/0.4308, allocations: 1.668 MB / 0.5008 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006427/0.4373, allocations: 2.043 MB / 0.5028 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005096/0.4424, allocations: 3.157 MB / 0.5058 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01277/0.4551, allocations: 4.713 MB / 0.5104 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04016/0.4953, allocations: 22.48 MB / 0.5324 GB, free: 5.336 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.4953, allocations: 0 / 0.5324 GB, free: 5.336 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4953, allocations: 3.938 kB / 0.5324 GB, free: 5.332 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004938/0.4958, allocations: 4 kB / 0.5324 GB, free: 5.328 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.2623/0.7581, allocations: 12.87 MB / 0.545 GB, free: 89.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.7582, allocations: 15.58 kB / 0.545 GB, free: 89.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03475/0.7929, allocations: 6.188 MB / 0.551 GB, free: 84.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01448/0.8074, allocations: 7.007 MB / 0.5579 GB, free: 77.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005618/0.808, allocations: 0.7058 MB / 0.5586 GB, free: 76.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004551/0.8125, allocations: 0.9175 MB / 0.5595 GB, free: 75.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03747/0.85, allocations: 15.92 MB / 0.575 GB, free: 59.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000323/0.8503, allocations: 15.89 kB / 0.575 GB, free: 59.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003492/0.8538, allocations: 386.6 kB / 0.5754 GB, free: 59.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005049/0.8543, allocations: 0.5547 MB / 0.5759 GB, free: 58.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02895/0.8833, allocations: 14.74 MB / 0.5903 GB, free: 44.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07193/0.9552, allocations: 44.08 MB / 0.6334 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01847/0.9737, allocations: 9.192 MB / 0.6423 GB, free: 7.621 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005185/0.9788, allocations: 2.928 MB / 0.6452 GB, free: 4.691 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003448/0.9792, allocations: 98.98 kB / 0.6453 GB, free: 4.594 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.269e-05/0.9793, allocations: 73.69 kB / 0.6454 GB, free: 4.512 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 6.712e-06/0.9793, allocations: 0 / 0.6454 GB, free: 4.512 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.04184/1.021, allocations: 17.07 MB / 0.662 GB, free: 3.488 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/1.021, allocations: 98.58 kB / 0.6621 GB, free: 3.379 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007713/1.029, allocations: 3.592 MB / 0.6656 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008849/1.03, allocations: 89.7 kB / 0.6657 GB, free: 15.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003517/1.033, allocations: 4.141 MB / 0.6698 GB, free: 11.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002196/1.036, allocations: 1.441 MB / 0.6712 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003209/1.039, allocations: 1.152 MB / 0.6723 GB, free: 8.887 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/1.039, allocations: 301.1 kB / 0.6726 GB, free: 8.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005451/1.044, allocations: 2.799 MB / 0.6753 GB, free: 5.785 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007765/1.052, allocations: 4.978 MB / 0.6802 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0138/1.066, allocations: 8.31 MB / 0.6883 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-05/1.066, allocations: 23.94 kB / 0.6883 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.02119/1.087, allocations: 9.051 MB / 0.6972 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/1.087, allocations: 39.94 kB / 0.6972 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002331/1.088, allocations: 72.03 kB / 0.6973 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003671/1.091, allocations: 1.19 MB / 0.6984 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005235/1.096, allocations: 1.326 MB / 0.6997 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01759/1.114, allocations: 9.467 MB / 0.709 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004732/1.119, allocations: 331.6 kB / 0.7093 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001091/1.12, allocations: 288 kB / 0.7096 GB, free: 0.5859 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008053/1.128, allocations: 3.712 MB / 0.7132 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/1.129, allocations: 401.4 kB / 0.7136 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/1.144, allocations: 6.609 MB / 0.72 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01082/1.155, allocations: 5.548 MB / 0.7255 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.448e-05/1.155, allocations: 12 kB / 0.7255 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.227e-05/1.155, allocations: 19.92 kB / 0.7255 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03086/1.186, allocations: 13.44 MB / 0.7386 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/1.186, allocations: 8.094 kB / 0.7386 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00313/1.189, allocations: 0.7255 MB / 0.7393 GB, free: 1.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003366/1.192, allocations: 1.076 MB / 0.7404 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003581/1.192, allocations: 95.97 kB / 0.7405 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01503/1.208, allocations: 8.411 MB / 0.7487 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-05/1.208, allocations: 11.94 kB / 0.7487 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4658/1.673, allocations: 9.79 MB / 0.7583 GB, free: 191.6 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00352/1.677, allocations: 0.8942 MB / 0.7591 GB, free: 191.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008752/1.678, allocations: 76.52 kB / 0.7592 GB, free: 191.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002267/1.68, allocations: 198 kB / 0.7594 GB, free: 191.6 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000776/1.681, allocations: 301.9 kB / 0.7597 GB, free: 191.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002559/1.681, allocations: 130.1 kB / 0.7598 GB, free: 191.6 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003734/1.685, allocations: 2.324 MB / 0.7621 GB, free: 191.5 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7e-08/1.685, allocations: 1.375 kB / 0.7621 GB, free: 191.5 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.005272/1.69, allocations: 1.606 MB / 0.7636 GB, free: 191.5 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.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 (389): * Single equations (assignments): 387 * 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,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006112/1.691, allocations: 274.5 kB / 0.7639 GB, free: 191.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.009845/1.701, allocations: 6.845 MB / 0.7706 GB, free: 188.8 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.701, allocations: 3.281 kB / 0.7706 GB, free: 188.8 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005195/1.706, allocations: 3.177 MB / 0.7737 GB, free: 187.5 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004531/1.71, allocations: 0.8736 MB / 0.7745 GB, free: 187.2 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02745/1.738, allocations: 16.4 MB / 0.7906 GB, free: 177.8 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005528/1.743, allocations: 5.55 MB / 0.796 GB, free: 173.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001741/1.745, allocations: 399.1 kB / 0.7964 GB, free: 173.2 MB / 0.5607 GB Notification: Performance of SimCode: time 1.674e-06/1.745, allocations: 0 / 0.7964 GB, free: 173.2 MB / 0.5607 GB Notification: Performance of Templates: time 0.1697/1.915, allocations: 162 MB / 0.9546 GB, free: 13.77 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.346605306956917]