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.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 107.4 kB / 17.15 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 198 kB / 18.07 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB 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.001602/0.001602, allocations: 43.94 kB / 280.1 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1061, allocations: 46.62 MB / 326.7 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02393/0.1301, allocations: 24.53 MB / 351.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01434/0.1445, allocations: 7.675 MB / 358.9 MB, free: 4.434 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004462/0.149, allocations: 147.5 kB / 359.1 MB, free: 4.289 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01733/0.1663, allocations: 7.9 MB / 367 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009386/0.1757, allocations: 2.8 MB / 369.8 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005316/0.1811, allocations: 1.668 MB / 371.4 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.201/0.3821, allocations: 11.14 MB / 382.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02946/0.4116, allocations: 19.66 MB / 402.2 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00866/0.4203, allocations: 5.14 MB / 407.4 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009273/0.4296, allocations: 6.285 MB / 413.7 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003805/0.4335, allocations: 1.114 MB / 414.8 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006472/0.44, allocations: 1.504 MB / 416.3 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00903/0.449, allocations: 3.182 MB / 419.5 MB, free: 0 / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01393/0.463, allocations: 5.851 MB / 425.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02734/0.4904, allocations: 22.6 MB / 447.9 MB, free: 5.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/0.4905, allocations: 7.281 kB / 447.9 MB, free: 5.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4905, allocations: 4 kB / 447.9 MB, free: 5.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0008357/0.4913, allocations: 0 / 447.9 MB, free: 5.285 MB / 350.1 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.04749/0.5388, allocations: 13.62 MB / 461.6 MB, free: 7.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.417e-05/0.5389, allocations: 16.02 kB / 461.6 MB, free: 7.645 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007452/0.5464, allocations: 1.651 MB / 463.2 MB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04008/0.5865, allocations: 7.2 MB / 470.4 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01522/0.6018, allocations: 6.491 MB / 476.9 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008478/0.6027, allocations: 0.7382 MB / 477.6 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004465/0.6071, allocations: 0.9736 MB / 478.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04582/0.653, allocations: 16.64 MB / 495.3 MB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006206/0.6537, allocations: 19.89 kB / 495.3 MB, free: 6.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003737/0.6574, allocations: 408.8 kB / 495.7 MB, free: 5.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006898/0.6581, allocations: 0.5909 MB / 496.3 MB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0344/0.6925, allocations: 15.82 MB / 0.5001 GB, free: 5.398 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.46/1.153, allocations: 53.95 MB / 0.5528 GB, free: 118.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01766/1.17, allocations: 22.74 MB / 0.575 GB, free: 102.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00526/1.176, allocations: 3.823 MB / 0.5787 GB, free: 102.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01652/1.192, allocations: 11.8 MB / 0.5902 GB, free: 96.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/1.192, allocations: 72.48 kB / 0.5903 GB, free: 96.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=363): time 5.931e-06/1.192, allocations: 3.562 kB / 0.5903 GB, free: 96.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=368): time 0.03412/1.226, allocations: 17.49 MB / 0.6074 GB, free: 88.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/1.226, allocations: 89.92 kB / 0.6075 GB, free: 88.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005894/1.232, allocations: 4.759 MB / 0.6121 GB, free: 85.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007238/1.233, allocations: 87.83 kB / 0.6122 GB, free: 85.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002374/1.235, allocations: 4.494 MB / 0.6166 GB, free: 81.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001535/1.237, allocations: 1.262 MB / 0.6178 GB, free: 80.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001801/1.239, allocations: 1.199 MB / 0.619 GB, free: 79.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.205e-05/1.239, allocations: 305.1 kB / 0.6193 GB, free: 79.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003776/1.243, allocations: 2.927 MB / 0.6221 GB, free: 77.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004585/1.247, allocations: 5.3 MB / 0.6273 GB, free: 71.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009029/1.256, allocations: 8.708 MB / 0.6358 GB, free: 62.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-05/1.256, allocations: 20 kB / 0.6358 GB, free: 62.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01777/1.274, allocations: 9.667 MB / 0.6453 GB, free: 52.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/1.274, allocations: 40.25 kB / 0.6453 GB, free: 52.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001454/1.274, allocations: 80 kB / 0.6454 GB, free: 52.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00346/1.278, allocations: 1.399 MB / 0.6468 GB, free: 50.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004892/1.283, allocations: 1.334 MB / 0.6481 GB, free: 49.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01446/1.297, allocations: 11.68 MB / 0.6595 GB, free: 37.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005153/1.302, allocations: 371.4 kB / 0.6598 GB, free: 37.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001129/1.304, allocations: 304 kB / 0.6601 GB, free: 36.89 MB / 446.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00684/1.31, allocations: 3.915 MB / 0.6639 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001409/1.312, allocations: 450.5 kB / 0.6644 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/1.323, allocations: 6.82 MB / 0.671 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007718/1.33, allocations: 5.632 MB / 0.6765 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/1.331, allocations: 15.94 kB / 0.6765 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.837e-05/1.331, allocations: 19.92 kB / 0.6766 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02354/1.354, allocations: 15.53 MB / 0.6917 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/1.354, allocations: 8 kB / 0.6917 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002545/1.357, allocations: 0.6631 MB / 0.6924 GB, free: 3.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00301/1.36, allocations: 1.275 MB / 0.6936 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003676/1.36, allocations: 87.92 kB / 0.6937 GB, free: 2.293 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01325/1.373, allocations: 10.57 MB / 0.704 GB, free: 7.465 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.373, allocations: 7.938 kB / 0.704 GB, free: 7.457 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2541/1.628, allocations: 10.09 MB / 0.7139 GB, free: 145.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003146/1.631, allocations: 1.025 MB / 0.7149 GB, free: 145.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001386/1.632, allocations: 73.41 kB / 0.715 GB, free: 145.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002841/1.635, allocations: 221.3 kB / 0.7152 GB, free: 145.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008366/1.636, allocations: 269.7 kB / 0.7154 GB, free: 145.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003043/1.636, allocations: 117.3 kB / 0.7155 GB, free: 145.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006455/1.643, allocations: 3.234 MB / 0.7187 GB, free: 144.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.61e-07/1.643, allocations: 3.609 kB / 0.7187 GB, free: 144.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0108/1.653, allocations: 1.697 MB / 0.7204 GB, free: 144.6 MB / 462.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01839/1.672, allocations: 11.08 MB / 0.7312 GB, free: 139.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01336/1.685, allocations: 7.572 MB / 0.7386 GB, free: 136.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/1.685, allocations: 3.531 kB / 0.7386 GB, free: 136.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00625/1.692, allocations: 3.601 MB / 0.7421 GB, free: 135.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005293/1.697, allocations: 0.9803 MB / 0.743 GB, free: 134.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1378/1.835, allocations: 75.69 MB / 0.817 GB, free: 65.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01298/1.848, allocations: 6.566 MB / 0.8234 GB, free: 58.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0084/1.856, allocations: 2.102 MB / 0.8254 GB, free: 56.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00722/1.863, allocations: 3.538 MB / 0.8289 GB, free: 53.18 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/1.864, allocations: 0 / 0.8289 GB, free: 53.18 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.358/2.222, allocations: 134.4 MB / 0.9602 GB, free: 85.89 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/2.222, allocations: 327.1 kB / 0.9605 GB, free: 85.51 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.404/6.626, allocations: 0 / 0.9605 GB, free: 85.51 MB / 462.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches