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.001949/0.001949, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.002281/0.002281, allocations: 183.1 kB / 18.66 MB, free: 4.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.703/1.703, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001608/0.001608, allocations: 55.92 kB / 328.1 MB, free: 3.746 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09591/0.09752, allocations: 46.62 MB / 374.7 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2708/0.3683, allocations: 24.98 MB / 399.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01821/0.3866, allocations: 7.706 MB / 407.4 MB, free: 8.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00577/0.3924, allocations: 157.4 kB / 407.5 MB, free: 7.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02026/0.4128, allocations: 8.37 MB / 415.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01381/0.4266, allocations: 3.049 MB / 419 MB, free: 112 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006911/0.4335, allocations: 1.781 MB / 420.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01983/0.4534, allocations: 11.21 MB / 431.9 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03421/0.4876, allocations: 23.35 MB / 455.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01053/0.4982, allocations: 5.962 MB / 461.3 MB, free: 9.168 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01156/0.5098, allocations: 6.545 MB / 467.8 MB, free: 2.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005378/0.5152, allocations: 1.727 MB / 469.5 MB, free: 0.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007855/0.5231, allocations: 2.121 MB / 471.6 MB, free: 14.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006628/0.5297, allocations: 3.464 MB / 475.1 MB, free: 11.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01292/0.5427, allocations: 6.436 MB / 481.5 MB, free: 4.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03208/0.5748, allocations: 23.19 MB / 0.4929 GB, free: 13.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.5749, allocations: 8 kB / 0.4929 GB, free: 13.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5749, allocations: 0 / 0.4929 GB, free: 13.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006443/0.5755, allocations: 0 / 0.4929 GB, free: 13.55 MB / 430.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.04286/0.6184, allocations: 13.8 MB / 0.5064 GB, free: 15.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/0.6185, allocations: 12.03 kB / 0.5064 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006813/0.6253, allocations: 1.638 MB / 0.508 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04059/0.6659, allocations: 7.313 MB / 0.5151 GB, free: 6.648 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/0.6799, allocations: 6.526 MB / 0.5215 GB, free: 44 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007933/0.6807, allocations: 0.7346 MB / 0.5222 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004115/0.6849, allocations: 0.9647 MB / 0.5232 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04152/0.7264, allocations: 16.63 MB / 0.5394 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003402/0.7268, allocations: 11.95 kB / 0.5394 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003258/0.73, allocations: 408 kB / 0.5398 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006739/0.7307, allocations: 0.5986 MB / 0.5404 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3791/1.11, allocations: 15.8 MB / 0.5558 GB, free: 132.5 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0829/1.193, allocations: 53.47 MB / 0.608 GB, free: 99.15 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01885/1.212, allocations: 22.72 MB / 0.6302 GB, free: 78.56 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006063/1.218, allocations: 3.81 MB / 0.6339 GB, free: 75.94 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02054/1.238, allocations: 11.69 MB / 0.6454 GB, free: 64.29 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.919e-05/1.238, allocations: 73.36 kB / 0.6454 GB, free: 64.21 MB / 478.1 MB Notification: Performance of pre-optimization done (n=357): time 7.003e-06/1.238, allocations: 0 / 0.6454 GB, free: 64.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=362): time 0.03932/1.278, allocations: 17.65 MB / 0.6627 GB, free: 46.84 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/1.278, allocations: 86.25 kB / 0.6628 GB, free: 46.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007979/1.286, allocations: 4.771 MB / 0.6674 GB, free: 42 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000755/1.287, allocations: 85.7 kB / 0.6675 GB, free: 41.91 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0022/1.289, allocations: 4.645 MB / 0.672 GB, free: 37.34 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001313/1.29, allocations: 1.311 MB / 0.6733 GB, free: 36.04 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001656/1.292, allocations: 1.199 MB / 0.6745 GB, free: 34.83 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.437e-05/1.292, allocations: 305.1 kB / 0.6748 GB, free: 34.53 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003468/1.295, allocations: 2.901 MB / 0.6776 GB, free: 31.62 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00435/1.3, allocations: 5.268 MB / 0.6827 GB, free: 25.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008823/1.309, allocations: 8.64 MB / 0.6912 GB, free: 15.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-05/1.309, allocations: 20 kB / 0.6912 GB, free: 15.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.0157/1.324, allocations: 9.641 MB / 0.7006 GB, free: 5.812 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.861e-05/1.325, allocations: 39.94 kB / 0.7007 GB, free: 5.773 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001232/1.325, allocations: 80.09 kB / 0.7007 GB, free: 5.695 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003662/1.328, allocations: 1.437 MB / 0.7021 GB, free: 4.254 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004746/1.333, allocations: 1.33 MB / 0.7034 GB, free: 2.922 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01992/1.353, allocations: 12.69 MB / 0.7158 GB, free: 5.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004946/1.358, allocations: 367.6 kB / 0.7162 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001223/1.359, allocations: 304 kB / 0.7165 GB, free: 5.301 MB / 494.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 (689): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00771/1.367, allocations: 3.92 MB / 0.7203 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001563/1.369, allocations: 480.9 kB / 0.7208 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0157/1.384, allocations: 6.76 MB / 0.7274 GB, free: 10.08 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01084/1.395, allocations: 5.588 MB / 0.7328 GB, free: 4.461 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.293e-05/1.395, allocations: 12 kB / 0.7328 GB, free: 4.449 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.047e-05/1.395, allocations: 19.92 kB / 0.7328 GB, free: 4.43 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03361/1.429, allocations: 15.46 MB / 0.7479 GB, free: 4.852 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.48e-05/1.429, allocations: 4.062 kB / 0.7479 GB, free: 4.848 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003203/1.432, allocations: 0.6709 MB / 0.7486 GB, free: 4.176 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003851/1.436, allocations: 1.301 MB / 0.7499 GB, free: 2.871 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005737/1.437, allocations: 87.97 kB / 0.75 GB, free: 2.785 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2127/1.649, allocations: 11.55 MB / 0.7612 GB, free: 167.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/1.649, allocations: 7.688 kB / 0.7612 GB, free: 167.2 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0158/1.665, allocations: 10.03 MB / 0.771 GB, free: 163 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002382/1.668, allocations: 1.038 MB / 0.7721 GB, free: 162.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006726/1.668, allocations: 73.42 kB / 0.7721 GB, free: 162.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002143/1.67, allocations: 222.7 kB / 0.7723 GB, free: 162.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007421/1.671, allocations: 270.7 kB / 0.7726 GB, free: 162.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002614/1.671, allocations: 118.5 kB / 0.7727 GB, free: 162.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004897/1.676, allocations: 3.232 MB / 0.7759 GB, free: 161.3 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2e-07/1.676, allocations: 0 / 0.7759 GB, free: 161.3 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006082/1.682, allocations: 1.693 MB / 0.7775 GB, free: 161.2 MB / 0.5138 GB 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 (333): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,43.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01795/1.7, allocations: 11.02 MB / 0.7883 GB, free: 156.2 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01079/1.711, allocations: 7.541 MB / 0.7956 GB, free: 153.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/1.711, allocations: 3.125 kB / 0.7956 GB, free: 153.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005414/1.717, allocations: 3.604 MB / 0.7992 GB, free: 151 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004978/1.722, allocations: 1.038 MB / 0.8002 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08171/1.803, allocations: 60.29 MB / 0.859 GB, free: 90.83 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007006/1.811, allocations: 6.559 MB / 0.8655 GB, free: 84.23 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004928/1.815, allocations: 2.109 MB / 0.8675 GB, free: 82.11 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004708/1.82, allocations: 3.545 MB / 0.871 GB, free: 78.57 MB / 0.5138 GB Notification: Performance of SimCode: time 1.252e-06/1.82, allocations: 0 / 0.871 GB, free: 78.57 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4368/2.257, allocations: 135.2 MB / 1.003 GB, free: 132.8 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.74/23, allocations: 7.578 kB / 1.003 GB, free: 132.8 MB / 0.5138 GB (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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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