Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009155/0.0009155, allocations: 177.9 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009027/0.0009029, allocations: 97.05 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 12 kB / 327 MB, free: 156 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2982, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01932/0.3176, allocations: 21.73 MB / 396.3 MB, free: 27.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01572/0.3334, allocations: 7.097 MB / 403.4 MB, free: 19.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007166/0.3406, allocations: 151.5 kB / 403.6 MB, free: 19.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006093/0.3467, allocations: 1.332 MB / 404.9 MB, free: 18.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009539/0.3563, allocations: 2.51 MB / 407.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004314/0.3606, allocations: 1.222 MB / 408.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01518/0.3758, allocations: 13.67 MB / 422.3 MB, free: 1.016 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04029/0.4161, allocations: 19.36 MB / 441.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009297/0.4255, allocations: 4.412 MB / 446.1 MB, free: 9.109 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01015/0.4356, allocations: 4.888 MB / 450.9 MB, free: 4.203 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003495/0.4392, allocations: 0.6641 MB / 451.6 MB, free: 3.539 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006398/0.4456, allocations: 1.039 MB / 452.6 MB, free: 2.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004256/0.4499, allocations: 2.11 MB / 454.8 MB, free: 392 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005506/0.4554, allocations: 2.157 MB / 456.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02411/0.4795, allocations: 19.59 MB / 476.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.4796, allocations: 0 / 476.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.4796, allocations: 0 / 476.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0007315/0.4804, allocations: 0 / 476.5 MB, free: 10.57 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.03606/0.5164, allocations: 11.47 MB / 488 MB, free: 15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.5165, allocations: 11.97 kB / 488 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0396/0.5561, allocations: 7.229 MB / 495.2 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01705/0.5732, allocations: 6.409 MB / 0.4899 GB, free: 1.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008669/0.5741, allocations: 0.7384 MB / 0.4906 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4366/1.011, allocations: 0.9578 MB / 0.4915 GB, free: 90.25 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04774/1.059, allocations: 16.54 MB / 0.5077 GB, free: 83.85 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005029/1.059, allocations: 10.38 kB / 0.5077 GB, free: 83.85 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003541/1.063, allocations: 412.8 kB / 0.5081 GB, free: 83.54 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007074/1.063, allocations: 0.588 MB / 0.5087 GB, free: 83.42 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03487/1.098, allocations: 15.73 MB / 0.524 GB, free: 70.72 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09839/1.197, allocations: 53.99 MB / 0.5767 GB, free: 16.14 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02277/1.22, allocations: 22.71 MB / 0.5989 GB, free: 7.223 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007598/1.227, allocations: 3.831 MB / 0.6027 GB, free: 3.379 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02716/1.254, allocations: 11.79 MB / 0.6142 GB, free: 7.512 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.333e-05/1.255, allocations: 65.39 kB / 0.6142 GB, free: 7.438 MB / 410.8 MB Notification: Performance of pre-optimization done (n=363): time 8.165e-06/1.255, allocations: 0 / 0.6142 GB, free: 7.438 MB / 410.8 MB Notification: Performance of matching and sorting (n=368): time 0.05853/1.313, allocations: 19.96 MB / 0.6337 GB, free: 3.336 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.439e-05/1.313, allocations: 90.22 kB / 0.6338 GB, free: 3.234 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01119/1.325, allocations: 4.726 MB / 0.6384 GB, free: 14.48 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001029/1.326, allocations: 93.69 kB / 0.6385 GB, free: 14.38 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00441/1.33, allocations: 4.468 MB / 0.6429 GB, free: 9.887 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002299/1.332, allocations: 1.272 MB / 0.6441 GB, free: 8.625 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001134/1.334, allocations: 120 kB / 0.6442 GB, free: 8.508 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0006905/1.334, allocations: 0.5462 MB / 0.6448 GB, free: 7.953 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006359/1.341, allocations: 2.92 MB / 0.6476 GB, free: 5.027 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008208/1.349, allocations: 5.278 MB / 0.6528 GB, free: 14.64 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008188/1.357, allocations: 4.11 MB / 0.6568 GB, free: 10.52 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001019/1.357, allocations: 20 kB / 0.6568 GB, free: 10.5 MB / 458.8 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.02322/1.38, allocations: 9.631 MB / 0.6662 GB, free: 0.8398 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/1.381, allocations: 40 kB / 0.6663 GB, free: 0.8008 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001914/1.381, allocations: 76 kB / 0.6663 GB, free: 0.7266 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2423/1.623, allocations: 1.404 MB / 0.6677 GB, free: 151.7 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004976/1.628, allocations: 1.337 MB / 0.669 GB, free: 151.7 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01446/1.643, allocations: 11.65 MB / 0.6804 GB, free: 145.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004963/1.648, allocations: 372.1 kB / 0.6807 GB, free: 145.8 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001339/1.649, allocations: 308.3 kB / 0.681 GB, free: 145.7 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008539/1.658, allocations: 3.922 MB / 0.6849 GB, free: 143.8 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/1.659, allocations: 449.9 kB / 0.6853 GB, free: 143.8 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.671, allocations: 6.825 MB / 0.692 GB, free: 141.1 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008929/1.68, allocations: 5.61 MB / 0.6974 GB, free: 138.9 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/1.68, allocations: 14.91 kB / 0.6974 GB, free: 138.9 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.049e-05/1.68, allocations: 21.44 kB / 0.6975 GB, free: 138.9 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0238/1.704, allocations: 15.5 MB / 0.7126 GB, free: 130.6 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/1.704, allocations: 4 kB / 0.7126 GB, free: 130.6 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002574/1.706, allocations: 0.6654 MB / 0.7133 GB, free: 130 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002948/1.709, allocations: 1.263 MB / 0.7145 GB, free: 128.7 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002809/1.71, allocations: 89.38 kB / 0.7146 GB, free: 128.7 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01161/1.721, allocations: 10.57 MB / 0.7249 GB, free: 118 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.721, allocations: 8 kB / 0.7249 GB, free: 118 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/1.735, allocations: 10.08 MB / 0.7348 GB, free: 108 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002087/1.737, allocations: 1.038 MB / 0.7358 GB, free: 106.9 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005382/1.737, allocations: 76 kB / 0.7358 GB, free: 106.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/1.739, allocations: 223.8 kB / 0.7361 GB, free: 106.6 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005062/1.74, allocations: 279.1 kB / 0.7363 GB, free: 106.4 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002132/1.74, allocations: 119.9 kB / 0.7364 GB, free: 106.2 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003925/1.744, allocations: 3.198 MB / 0.7396 GB, free: 103 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.7e-07/1.744, allocations: 0 / 0.7396 GB, free: 103 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.005322/1.749, allocations: 1.693 MB / 0.7412 GB, free: 101.4 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (336): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001086/1.75, allocations: 0.5079 MB / 0.7417 GB, free: 100.9 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01093/1.761, allocations: 7.556 MB / 0.7491 GB, free: 93.3 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.761, allocations: 0 / 0.7491 GB, free: 93.3 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005007/1.766, allocations: 3.61 MB / 0.7526 GB, free: 89.67 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004635/1.771, allocations: 0.9821 MB / 0.7536 GB, free: 88.68 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02698/1.798, allocations: 21.07 MB / 0.7741 GB, free: 67.53 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00494/1.803, allocations: 6.367 MB / 0.7804 GB, free: 61.12 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001828/1.805, allocations: 415.3 kB / 0.7808 GB, free: 60.72 MB / 458.8 MB Notification: Performance of SimCode: time 8.42e-07/1.805, allocations: 0 / 0.7808 GB, free: 60.72 MB / 458.8 MB Notification: Performance of Templates: time 0.4167/2.221, allocations: 226.8 MB / 1.002 GB, free: 4.426 MB / 474.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_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/IMC_withLosses/IMC_withLosses.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches