Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_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_4_0_0_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.001575/0.001575, allocations: 109.7 kB / 17.06 MB, free: 5.812 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.001625/0.001625, allocations: 200 kB / 18.01 MB, free: 4.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 51.92 kB / 350.9 MB, free: 3.672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3233, allocations: 49.44 MB / 400.3 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.03088/0.3542, allocations: 24.84 MB / 425.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01848/0.3727, allocations: 7.817 MB / 433 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006782/0.3796, allocations: 183.4 kB / 433.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02349/0.4031, allocations: 8.355 MB / 441.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01354/0.4166, allocations: 2.992 MB / 444.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007264/0.4239, allocations: 1.811 MB / 446.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01855/0.4425, allocations: 11.11 MB / 457.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04339/0.4859, allocations: 23.3 MB / 480.7 MB, free: 8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01352/0.4995, allocations: 5.903 MB / 486.6 MB, free: 2.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01202/0.5116, allocations: 6.436 MB / 493 MB, free: 11.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006815/0.5184, allocations: 1.715 MB / 494.8 MB, free: 9.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008293/0.5267, allocations: 2.128 MB / 496.9 MB, free: 7.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007785/0.5346, allocations: 3.387 MB / 0.4885 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01482/0.5494, allocations: 6.354 MB / 0.4948 GB, free: 14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03751/0.587, allocations: 23.16 MB / 0.5174 GB, free: 6.777 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.5871, allocations: 0 / 0.5174 GB, free: 6.777 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5871, allocations: 0 / 0.5174 GB, free: 6.777 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006898/0.5878, allocations: 4 kB / 0.5174 GB, free: 6.773 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.05029/0.6381, allocations: 13.62 MB / 0.5307 GB, free: 9.035 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.6381, allocations: 12.03 kB / 0.5307 GB, free: 9.023 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005802/0.6439, allocations: 1.62 MB / 0.5323 GB, free: 7.391 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0377/0.6817, allocations: 6.319 MB / 0.5384 GB, free: 1.059 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4925/1.174, allocations: 7.275 MB / 0.5455 GB, free: 111.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006589/1.175, allocations: 0.721 MB / 0.5462 GB, free: 111.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004547/1.179, allocations: 0.9523 MB / 0.5472 GB, free: 111.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0391/1.219, allocations: 16.17 MB / 0.563 GB, free: 103.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003286/1.219, allocations: 11.42 kB / 0.563 GB, free: 103.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002469/1.221, allocations: 404 kB / 0.5634 GB, free: 103.6 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005145/1.222, allocations: 0.5633 MB / 0.5639 GB, free: 103.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02698/1.249, allocations: 15.13 MB / 0.5787 GB, free: 88.19 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.077/1.326, allocations: 52.19 MB / 0.6296 GB, free: 35.69 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01472/1.341, allocations: 20.08 MB / 0.6493 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005236/1.346, allocations: 3.645 MB / 0.6528 GB, free: 9.992 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004423/1.347, allocations: 183.2 kB / 0.653 GB, free: 9.809 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.218e-05/1.347, allocations: 82.06 kB / 0.6531 GB, free: 9.719 MB / 462.1 MB Notification: Performance of pre-optimization done (n=447): time 6.392e-06/1.347, allocations: 0 / 0.6531 GB, free: 9.719 MB / 462.1 MB Notification: Performance of matching and sorting (n=452): time 0.05283/1.399, allocations: 20.77 MB / 0.6733 GB, free: 5.102 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.674e-05/1.4, allocations: 98.95 kB / 0.6734 GB, free: 4.992 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007921/1.407, allocations: 4.497 MB / 0.6778 GB, free: 484 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001038/1.409, allocations: 97.7 kB / 0.6779 GB, free: 380 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0038/1.412, allocations: 4.355 MB / 0.6822 GB, free: 12.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002185/1.415, allocations: 1.613 MB / 0.6838 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00229/1.417, allocations: 1.2 MB / 0.6849 GB, free: 9.207 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/1.417, allocations: 301.1 kB / 0.6852 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008178/1.425, allocations: 3.057 MB / 0.6882 GB, free: 5.848 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009032/1.434, allocations: 5.219 MB / 0.6933 GB, free: 15.66 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01411/1.448, allocations: 8.868 MB / 0.702 GB, free: 5.816 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.346e-05/1.449, allocations: 20 kB / 0.702 GB, free: 5.797 MB / 0.4982 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01986/1.468, allocations: 9.884 MB / 0.7116 GB, free: 11.9 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.966e-05/1.469, allocations: 36 kB / 0.7117 GB, free: 11.86 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/1.469, allocations: 71.94 kB / 0.7117 GB, free: 11.79 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004084/1.473, allocations: 1.4 MB / 0.7131 GB, free: 10.39 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005541/1.478, allocations: 1.392 MB / 0.7145 GB, free: 8.992 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02145/1.5, allocations: 12.67 MB / 0.7268 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005417/1.505, allocations: 359.5 kB / 0.7272 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001133/1.506, allocations: 296 kB / 0.7275 GB, free: 11.41 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * 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.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009538/1.516, allocations: 3.889 MB / 0.7313 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001768/1.518, allocations: 485 kB / 0.7317 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2602/1.778, allocations: 8.501 MB / 0.74 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009983/1.788, allocations: 6.253 MB / 0.7461 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-05/1.788, allocations: 11.75 kB / 0.7461 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.344e-05/1.788, allocations: 19.69 kB / 0.7462 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0254/1.814, allocations: 17.43 MB / 0.7632 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/1.814, allocations: 6.812 kB / 0.7632 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003052/1.817, allocations: 0.8086 MB / 0.764 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003451/1.82, allocations: 1.28 MB / 0.7652 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005183/1.821, allocations: 106.3 kB / 0.7653 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01287/1.834, allocations: 11.57 MB / 0.7766 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/1.834, allocations: 15.75 kB / 0.7766 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01442/1.848, allocations: 11.22 MB / 0.7876 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001996/1.85, allocations: 1.113 MB / 0.7887 GB, free: 149.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006037/1.851, allocations: 95.92 kB / 0.7888 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/1.853, allocations: 235.7 kB / 0.789 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006362/1.853, allocations: 323.5 kB / 0.7893 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002529/1.854, allocations: 138.5 kB / 0.7894 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003818/1.858, allocations: 3.107 MB / 0.7925 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.6e-07/1.858, allocations: 4 kB / 0.7925 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006022/1.864, allocations: 1.726 MB / 0.7942 GB, free: 144.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (417): * Single equations (assignments): 414 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0152/1.879, allocations: 12.24 MB / 0.8061 GB, free: 132.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01069/1.89, allocations: 7.987 MB / 0.8139 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/1.89, allocations: 4.938 kB / 0.8139 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00579/1.895, allocations: 3.941 MB / 0.8178 GB, free: 120.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004814/1.9, allocations: 1.048 MB / 0.8188 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08569/1.986, allocations: 60.91 MB / 0.8783 GB, free: 55.72 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006541/1.993, allocations: 6.517 MB / 0.8846 GB, free: 49.18 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005325/1.998, allocations: 2.123 MB / 0.8867 GB, free: 47.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004849/2.003, allocations: 3.557 MB / 0.8902 GB, free: 43.49 MB / 0.5294 GB Notification: Performance of SimCode: time 1.412e-06/2.003, allocations: 4 kB / 0.8902 GB, free: 43.49 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4501/2.453, allocations: 139.2 MB / 1.026 GB, free: 120.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.58/23.03, allocations: 9.344 kB / 1.026 GB, free: 120.6 MB / 0.545 GB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches