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.0009153/0.0009154, allocations: 100.9 kB / 16.65 MB, free: 6.254 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.0009363/0.0009364, allocations: 180.4 kB / 17.57 MB, free: 5.844 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.399/1.399, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.000297, allocations: 8 kB / 301.6 MB, free: 5.98 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1089, allocations: 50.42 MB / 352 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2354/0.3444, allocations: 23.31 MB / 375.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01602/0.3605, allocations: 7.675 MB / 383 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005351/0.3659, allocations: 166.3 kB / 383.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006116/0.372, allocations: 1.758 MB / 384.9 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.3829, allocations: 2.721 MB / 387.6 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005172/0.3881, allocations: 1.582 MB / 389.2 MB, free: 6.305 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01862/0.4067, allocations: 10.97 MB / 400.2 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04671/0.4535, allocations: 23.54 MB / 423.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00876/0.4623, allocations: 4.175 MB / 427.9 MB, free: 9.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009562/0.4719, allocations: 4.989 MB / 432.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002696/0.4746, allocations: 0.6602 MB / 433.5 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005664/0.4803, allocations: 1.069 MB / 434.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003573/0.4839, allocations: 2.099 MB / 436.7 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0101/0.4941, allocations: 5.001 MB / 441.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02904/0.5231, allocations: 21.72 MB / 463.4 MB, free: 5.895 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.5232, allocations: 0 / 463.4 MB, free: 5.895 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.5232, allocations: 0 / 463.4 MB, free: 5.895 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006721/0.5239, allocations: 0 / 463.4 MB, free: 5.895 MB / 366.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.03368/0.5576, allocations: 11.23 MB / 474.6 MB, free: 10.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.5577, allocations: 12.03 kB / 474.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006463/0.5641, allocations: 1.616 MB / 476.3 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03576/0.5999, allocations: 6.243 MB / 482.5 MB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01675/0.6167, allocations: 7.104 MB / 489.6 MB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000852/0.6176, allocations: 0.7264 MB / 490.3 MB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003905/0.6215, allocations: 0.953 MB / 491.3 MB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0413/0.6628, allocations: 16.19 MB / 0.4956 GB, free: 9.547 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004986/0.6634, allocations: 15.81 kB / 0.4956 GB, free: 9.531 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003197/0.6666, allocations: 404 kB / 0.496 GB, free: 9.137 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006658/0.6673, allocations: 0.5592 MB / 0.4965 GB, free: 8.574 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03309/0.7004, allocations: 15.15 MB / 0.5113 GB, free: 9.406 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2779/0.9783, allocations: 52.83 MB / 0.5629 GB, free: 91.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01508/0.9935, allocations: 20.12 MB / 0.5826 GB, free: 73.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005333/0.9988, allocations: 3.681 MB / 0.5862 GB, free: 71.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003467/0.9992, allocations: 191.6 kB / 0.5863 GB, free: 71.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.9993, allocations: 80.12 kB / 0.5864 GB, free: 70.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=453): time 6.552e-06/0.9993, allocations: 3.938 kB / 0.5864 GB, free: 70.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=458): time 0.04362/1.043, allocations: 20.73 MB / 0.6067 GB, free: 52.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/1.043, allocations: 102.9 kB / 0.6068 GB, free: 51.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005433/1.048, allocations: 4.485 MB / 0.6111 GB, free: 47.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005408/1.049, allocations: 101.7 kB / 0.6112 GB, free: 47.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00179/1.051, allocations: 4.201 MB / 0.6153 GB, free: 43.08 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001234/1.052, allocations: 1.558 MB / 0.6169 GB, free: 41.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005601/1.053, allocations: 495.6 kB / 0.6173 GB, free: 41.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.364e-05/1.053, allocations: 305.1 kB / 0.6176 GB, free: 40.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003941/1.057, allocations: 3.1 MB / 0.6207 GB, free: 37.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004631/1.061, allocations: 5.261 MB / 0.6258 GB, free: 31.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009096/1.07, allocations: 8.943 MB / 0.6345 GB, free: 21.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.544e-05/1.07, allocations: 23.94 kB / 0.6346 GB, free: 21.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01479/1.085, allocations: 9.929 MB / 0.6442 GB, free: 11.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.824e-05/1.085, allocations: 39.98 kB / 0.6443 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001095/1.085, allocations: 68 kB / 0.6443 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003217/1.089, allocations: 1.367 MB / 0.6457 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004718/1.093, allocations: 1.388 MB / 0.647 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0145/1.108, allocations: 11.66 MB / 0.6584 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005096/1.113, allocations: 355.4 kB / 0.6588 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008685/1.114, allocations: 296 kB / 0.659 GB, free: 12.09 MB / 446.1 MB 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 (723): * Single equations (assignments): 717 * 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.006937/1.121, allocations: 3.895 MB / 0.6629 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000999/1.122, allocations: 458.3 kB / 0.6633 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/1.136, allocations: 8.59 MB / 0.6717 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01018/1.146, allocations: 6.313 MB / 0.6778 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-05/1.146, allocations: 12 kB / 0.6779 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.066e-05/1.146, allocations: 23.91 kB / 0.6779 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02977/1.176, allocations: 17.76 MB / 0.6952 GB, free: 6.824 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.106e-05/1.176, allocations: 8 kB / 0.6952 GB, free: 6.816 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003315/1.179, allocations: 0.8081 MB / 0.696 GB, free: 6.008 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003439/1.183, allocations: 1.282 MB / 0.6973 GB, free: 4.723 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004678/1.183, allocations: 108 kB / 0.6974 GB, free: 4.617 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.242/1.425, allocations: 10.57 MB / 0.7077 GB, free: 151.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.306e-05/1.425, allocations: 12.64 kB / 0.7077 GB, free: 151.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02169/1.447, allocations: 11.3 MB / 0.7188 GB, free: 148.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003082/1.45, allocations: 1.106 MB / 0.7198 GB, free: 147.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008367/1.451, allocations: 91.77 kB / 0.7199 GB, free: 147.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002482/1.454, allocations: 242.1 kB / 0.7201 GB, free: 147.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007794/1.454, allocations: 330.5 kB / 0.7205 GB, free: 147.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002642/1.455, allocations: 137.3 kB / 0.7206 GB, free: 147.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004736/1.459, allocations: 3.106 MB / 0.7236 GB, free: 146.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.61e-07/1.459, allocations: 0 / 0.7236 GB, free: 146.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006292/1.466, allocations: 1.726 MB / 0.7253 GB, free: 146.4 MB / 478.1 MB 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 (420): * Single equations (assignments): 414 * 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,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.017/1.483, allocations: 12.34 MB / 0.7374 GB, free: 140.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01227/1.495, allocations: 8.046 MB / 0.7452 GB, free: 137.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/1.495, allocations: 0 / 0.7452 GB, free: 137.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007379/1.502, allocations: 3.994 MB / 0.7491 GB, free: 133.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00951/1.512, allocations: 0.9885 MB / 0.7501 GB, free: 133.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1194/1.631, allocations: 76.83 MB / 0.8251 GB, free: 52.36 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005656/1.637, allocations: 6.517 MB / 0.8315 GB, free: 45.81 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005544/1.643, allocations: 2.111 MB / 0.8335 GB, free: 43.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003935/1.647, allocations: 3.557 MB / 0.837 GB, free: 40.14 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/1.647, allocations: 0 / 0.837 GB, free: 40.14 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.102/8.748, allocations: 136.3 MB / 0.9702 GB, free: 83.55 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/8.749, allocations: 334.6 kB / 0.9705 GB, free: 83.17 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.118/13.87, allocations: 0 / 0.9705 GB, free: 83.17 MB / 478.1 MB (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