Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001513/0.001513, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00195/0.00195, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 247.5 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 59.88 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08297/0.08411, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1734/0.2575, allocations: 24.87 MB / 383.8 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01501/0.2725, allocations: 8.06 MB / 391.9 MB, free: 3.215 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005082/0.2777, allocations: 182.5 kB / 392 MB, free: 3.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01739/0.2951, allocations: 8.364 MB / 400.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01108/0.3062, allocations: 3.021 MB / 403.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005576/0.3118, allocations: 1.835 MB / 405.3 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01404/0.3258, allocations: 11.22 MB / 416.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03158/0.3575, allocations: 23.31 MB / 439.8 MB, free: 11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008735/0.3662, allocations: 5.903 MB / 445.7 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01005/0.3763, allocations: 6.483 MB / 452.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003758/0.3801, allocations: 1.715 MB / 453.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007872/0.388, allocations: 2.156 MB / 456.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005113/0.3932, allocations: 3.394 MB / 459.5 MB, free: 7.309 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01043/0.4036, allocations: 6.354 MB / 465.8 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02443/0.4281, allocations: 23.13 MB / 488.9 MB, free: 9.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.4282, allocations: 0 / 488.9 MB, free: 9.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.4282, allocations: 0 / 488.9 MB, free: 9.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005611/0.4287, allocations: 0 / 488.9 MB, free: 9.73 MB / 398.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.03812/0.4669, allocations: 13.4 MB / 0.4906 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.4669, allocations: 15.97 kB / 0.4906 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03532/0.5023, allocations: 6.282 MB / 0.4967 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01757/0.5199, allocations: 7.244 MB / 0.5038 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007466/0.5207, allocations: 0.7224 MB / 0.5045 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003679/0.5244, allocations: 0.9491 MB / 0.5054 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03745/0.5618, allocations: 16.13 MB / 0.5212 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003924/0.5623, allocations: 7.906 kB / 0.5212 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002722/0.565, allocations: 400 kB / 0.5216 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006384/0.5657, allocations: 0.5669 MB / 0.5221 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3159/0.8816, allocations: 15.1 MB / 0.5369 GB, free: 125.8 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0733/0.9549, allocations: 52.49 MB / 0.5881 GB, free: 91 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01364/0.9686, allocations: 20.09 MB / 0.6078 GB, free: 72.95 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004449/0.9731, allocations: 3.638 MB / 0.6113 GB, free: 69.75 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003879/0.9735, allocations: 259.7 kB / 0.6116 GB, free: 69.48 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.9735, allocations: 81.5 kB / 0.6116 GB, free: 69.39 MB / 446.2 MB Notification: Performance of pre-optimization done (n=447): time 6.602e-06/0.9736, allocations: 0 / 0.6116 GB, free: 69.39 MB / 446.2 MB Notification: Performance of matching and sorting (n=452): time 0.04427/1.018, allocations: 20.63 MB / 0.6318 GB, free: 48.69 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/1.018, allocations: 103 kB / 0.6319 GB, free: 48.58 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005311/1.023, allocations: 4.502 MB / 0.6363 GB, free: 44.05 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0006178/1.024, allocations: 101.7 kB / 0.6364 GB, free: 43.95 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.001694/1.026, allocations: 4.198 MB / 0.6405 GB, free: 39.73 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.001201/1.027, allocations: 1.535 MB / 0.642 GB, free: 38.2 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00154/1.028, allocations: 1.188 MB / 0.6431 GB, free: 37 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 3.561e-05/1.028, allocations: 305.1 kB / 0.6434 GB, free: 36.7 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003793/1.032, allocations: 3.073 MB / 0.6464 GB, free: 33.62 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004535/1.037, allocations: 5.209 MB / 0.6515 GB, free: 27.45 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009207/1.046, allocations: 8.872 MB / 0.6602 GB, free: 17.6 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.121e-05/1.046, allocations: 20 kB / 0.6602 GB, free: 17.58 MB / 446.2 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.0155/1.062, allocations: 9.869 MB / 0.6698 GB, free: 7.695 MB / 446.2 MB Notification: Performance of prepare postOptimizeDAE: time 7.216e-05/1.062, allocations: 36 kB / 0.6699 GB, free: 7.66 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.562e-05/1.062, allocations: 68 kB / 0.6699 GB, free: 7.594 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003548/1.065, allocations: 1.399 MB / 0.6713 GB, free: 6.188 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005186/1.071, allocations: 1.388 MB / 0.6726 GB, free: 4.797 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01792/1.088, allocations: 12.65 MB / 0.685 GB, free: 7.895 MB / 462.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004709/1.093, allocations: 367.4 kB / 0.6854 GB, free: 7.535 MB / 462.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/1.094, allocations: 292 kB / 0.6856 GB, free: 7.25 MB / 462.2 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 (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.007295/1.102, allocations: 3.892 MB / 0.6894 GB, free: 3.344 MB / 462.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001449/1.103, allocations: 462.2 kB / 0.6899 GB, free: 2.887 MB / 462.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0161/1.119, allocations: 8.512 MB / 0.6982 GB, free: 10.32 MB / 478.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01111/1.13, allocations: 6.248 MB / 0.7043 GB, free: 4.055 MB / 478.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.361e-05/1.131, allocations: 12 kB / 0.7043 GB, free: 4.043 MB / 478.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.665e-05/1.131, allocations: 27.91 kB / 0.7043 GB, free: 4.016 MB / 478.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2228/1.353, allocations: 17.4 MB / 0.7213 GB, free: 144.1 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.052e-05/1.354, allocations: 8 kB / 0.7213 GB, free: 144.1 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003252/1.357, allocations: 0.8053 MB / 0.7221 GB, free: 144 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003512/1.36, allocations: 1.285 MB / 0.7234 GB, free: 143.8 MB / 478.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004337/1.361, allocations: 102.7 kB / 0.7235 GB, free: 143.7 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01346/1.374, allocations: 11.56 MB / 0.7348 GB, free: 136.8 MB / 478.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/1.374, allocations: 12.06 kB / 0.7348 GB, free: 136.8 MB / 478.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01642/1.391, allocations: 11.19 MB / 0.7457 GB, free: 132.1 MB / 478.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00343/1.394, allocations: 1.088 MB / 0.7468 GB, free: 131.7 MB / 478.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006687/1.395, allocations: 90.64 kB / 0.7468 GB, free: 131.6 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00208/1.397, allocations: 235 kB / 0.7471 GB, free: 131.5 MB / 478.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006751/1.398, allocations: 331.6 kB / 0.7474 GB, free: 131.5 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002564/1.398, allocations: 137.8 kB / 0.7475 GB, free: 131.4 MB / 478.2 MB Notification: Performance of sorting global known variables: time 0.003667/1.402, allocations: 3.12 MB / 0.7506 GB, free: 130.3 MB / 478.2 MB Notification: Performance of sort global known variables: time 1.8e-07/1.402, allocations: 0 / 0.7506 GB, free: 130.3 MB / 478.2 MB Notification: Performance of remove unused functions: time 0.00508/1.407, allocations: 1.719 MB / 0.7522 GB, free: 129.3 MB / 478.2 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 (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.001369/1.408, allocations: 0.5331 MB / 0.7528 GB, free: 129 MB / 478.2 MB Notification: Performance of simCode: created initialization part: time 0.01066/1.419, allocations: 7.977 MB / 0.7606 GB, free: 122 MB / 478.2 MB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/1.419, allocations: 4 kB / 0.7606 GB, free: 122 MB / 478.2 MB Notification: Performance of simCode: created simulation system equations: time 0.00555/1.424, allocations: 3.936 MB / 0.7644 GB, free: 118.6 MB / 478.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00455/1.429, allocations: 1.055 MB / 0.7654 GB, free: 117.7 MB / 478.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02565/1.455, allocations: 18.07 MB / 0.7831 GB, free: 101.3 MB / 478.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007236/1.462, allocations: 6.514 MB / 0.7894 GB, free: 94.79 MB / 478.2 MB Notification: Performance of simCode: alias equations: time 0.005272/1.467, allocations: 2.111 MB / 0.7915 GB, free: 92.68 MB / 478.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/1.468, allocations: 375.4 kB / 0.7919 GB, free: 92.31 MB / 478.2 MB Notification: Performance of SimCode: time 1.122e-06/1.468, allocations: 0 / 0.7919 GB, free: 92.31 MB / 478.2 MB Notification: Performance of Templates: time 0.1023/1.571, allocations: 69.52 MB / 0.8597 GB, free: 23.36 MB / 478.2 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches