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: 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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 112.3 kB / 17.06 MB, free: 5.965 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.001548/0.001548, allocations: 192 kB / 18 MB, free: 5.055 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.38/1.38, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009671/0.0009672, allocations: 51.92 kB / 351.3 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2891, allocations: 49.42 MB / 400.8 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02466/0.3138, allocations: 24.84 MB / 425.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.016/0.3298, allocations: 7.825 MB / 433.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004804/0.3346, allocations: 179.5 kB / 433.6 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01908/0.3537, allocations: 8.361 MB / 442 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01056/0.3643, allocations: 2.984 MB / 445 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005726/0.3701, allocations: 1.814 MB / 446.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02247/0.3925, allocations: 11.12 MB / 457.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05722/0.4498, allocations: 23.3 MB / 481.2 MB, free: 8.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01401/0.4639, allocations: 5.903 MB / 487.1 MB, free: 2.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01728/0.4812, allocations: 6.428 MB / 493.5 MB, free: 11.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005223/0.4865, allocations: 1.715 MB / 495.2 MB, free: 9.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008224/0.4947, allocations: 2.132 MB / 497.4 MB, free: 7.859 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006425/0.5012, allocations: 3.39 MB / 0.489 GB, free: 4.461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01197/0.5132, allocations: 6.354 MB / 0.4952 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0287/0.5419, allocations: 23.16 MB / 0.5178 GB, free: 6.852 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.542, allocations: 0 / 0.5178 GB, free: 6.852 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.542, allocations: 0 / 0.5178 GB, free: 6.852 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006804/0.5427, allocations: 0 / 0.5178 GB, free: 6.852 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.04343/0.5861, allocations: 13.62 MB / 0.5312 GB, free: 9.109 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.5862, allocations: 12.03 kB / 0.5312 GB, free: 9.098 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03594/0.6221, allocations: 6.307 MB / 0.5373 GB, free: 2.777 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4523/1.075, allocations: 7.275 MB / 0.5444 GB, free: 112.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000567/1.075, allocations: 0.7169 MB / 0.5451 GB, free: 112.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003995/1.079, allocations: 0.9418 MB / 0.546 GB, free: 112.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03995/1.119, allocations: 16.14 MB / 0.5618 GB, free: 105.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004742/1.12, allocations: 10.66 kB / 0.5618 GB, free: 105.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004162/1.124, allocations: 400.4 kB / 0.5622 GB, free: 105 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006677/1.125, allocations: 0.5645 MB / 0.5627 GB, free: 104.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03046/1.155, allocations: 15.11 MB / 0.5775 GB, free: 89.91 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07997/1.235, allocations: 52.13 MB / 0.6284 GB, free: 37.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01677/1.252, allocations: 20.09 MB / 0.648 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005503/1.257, allocations: 3.633 MB / 0.6516 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005167/1.258, allocations: 179.2 kB / 0.6518 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.175e-05/1.258, allocations: 86.06 kB / 0.6518 GB, free: 11.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=447): time 7.373e-06/1.258, allocations: 0 / 0.6518 GB, free: 11.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=452): time 0.05439/1.312, allocations: 20.75 MB / 0.6721 GB, free: 7.152 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.109e-05/1.313, allocations: 98.95 kB / 0.6722 GB, free: 7.043 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009849/1.322, allocations: 4.497 MB / 0.6766 GB, free: 2.523 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007644/1.323, allocations: 101.7 kB / 0.6767 GB, free: 2.418 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003176/1.326, allocations: 4.332 MB / 0.6809 GB, free: 14.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002308/1.329, allocations: 1.614 MB / 0.6825 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003589/1.332, allocations: 1.192 MB / 0.6836 GB, free: 11.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/1.332, allocations: 304.9 kB / 0.6839 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005454/1.338, allocations: 3.073 MB / 0.6869 GB, free: 7.898 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006979/1.345, allocations: 5.203 MB / 0.692 GB, free: 1.723 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0129/1.358, allocations: 8.876 MB / 0.7007 GB, free: 7.875 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-05/1.358, allocations: 20 kB / 0.7007 GB, free: 7.855 MB / 0.4982 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.0191/1.377, allocations: 9.888 MB / 0.7104 GB, free: 13.95 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.446e-05/1.377, allocations: 32 kB / 0.7104 GB, free: 13.92 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001255/1.377, allocations: 76 kB / 0.7105 GB, free: 13.85 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004002/1.381, allocations: 1.399 MB / 0.7118 GB, free: 12.45 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005008/1.386, allocations: 1.392 MB / 0.7132 GB, free: 11.05 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01857/1.405, allocations: 12.68 MB / 0.7256 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004847/1.41, allocations: 355.7 kB / 0.7259 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/1.411, allocations: 296 kB / 0.7262 GB, free: 13.46 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.007051/1.418, allocations: 3.881 MB / 0.73 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001416/1.419, allocations: 492.8 kB / 0.7305 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01589/1.435, allocations: 8.51 MB / 0.7388 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2781/1.713, allocations: 6.244 MB / 0.7449 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-05/1.714, allocations: 19.64 kB / 0.7449 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.16e-05/1.714, allocations: 22.5 kB / 0.7449 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02665/1.74, allocations: 17.4 MB / 0.7619 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/1.74, allocations: 7.844 kB / 0.7619 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002985/1.743, allocations: 0.803 MB / 0.7627 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003507/1.747, allocations: 1.288 MB / 0.7639 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002992/1.747, allocations: 105.3 kB / 0.764 GB, free: 167 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01305/1.76, allocations: 11.57 MB / 0.7753 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.76, allocations: 10.94 kB / 0.7754 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01478/1.775, allocations: 11.21 MB / 0.7863 GB, free: 152.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002159/1.777, allocations: 1.112 MB / 0.7874 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007087/1.778, allocations: 84 kB / 0.7875 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/1.78, allocations: 240.7 kB / 0.7877 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006406/1.781, allocations: 329.6 kB / 0.788 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002593/1.781, allocations: 136.3 kB / 0.7881 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00381/1.785, allocations: 3.107 MB / 0.7912 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/1.785, allocations: 0 / 0.7912 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005549/1.79, allocations: 1.728 MB / 0.7929 GB, free: 146.5 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.001452/1.792, allocations: 0.5508 MB / 0.7934 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01239/1.804, allocations: 7.988 MB / 0.8012 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/1.804, allocations: 4 kB / 0.8012 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00682/1.811, allocations: 3.939 MB / 0.8051 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007492/1.819, allocations: 1.048 MB / 0.8061 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03447/1.853, allocations: 18.28 MB / 0.8239 GB, free: 114.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00963/1.863, allocations: 6.512 MB / 0.8303 GB, free: 108.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006608/1.87, allocations: 2.123 MB / 0.8324 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001927/1.871, allocations: 375.4 kB / 0.8327 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.012e-06/1.872, allocations: 0 / 0.8327 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.1046/1.976, allocations: 72.11 MB / 0.9031 GB, free: 34.16 MB / 0.5294 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (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 & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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/jenkins/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