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.00104/0.00104, allocations: 111.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001115/0.001115, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 60.09 kB / 359.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1982, allocations: 50.54 MB / 410 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02463/0.2228, allocations: 24.88 MB / 434.9 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0136/0.2365, allocations: 8.052 MB / 442.9 MB, free: 492 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003212/0.2397, allocations: 183.4 kB / 443.1 MB, free: 308 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0173/0.257, allocations: 8.43 MB / 451.5 MB, free: 7.855 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007295/0.2643, allocations: 3.062 MB / 454.6 MB, free: 4.781 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004062/0.2684, allocations: 1.836 MB / 456.4 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01126/0.2797, allocations: 11.21 MB / 467.6 MB, free: 7.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02816/0.3079, allocations: 23.32 MB / 491 MB, free: 224 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006899/0.3148, allocations: 5.931 MB / 496.9 MB, free: 10.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008697/0.3235, allocations: 6.483 MB / 0.4916 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003005/0.3265, allocations: 1.719 MB / 0.4933 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004268/0.3308, allocations: 2.148 MB / 0.4954 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002812/0.3336, allocations: 3.402 MB / 0.4987 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006024/0.3396, allocations: 6.354 MB / 0.5049 GB, free: 6.113 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01906/0.3587, allocations: 23.14 MB / 0.5275 GB, free: 14.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3587, allocations: 0 / 0.5275 GB, free: 14.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3587, allocations: 0 / 0.5275 GB, free: 14.91 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002601/0.359, allocations: 4 kB / 0.5275 GB, free: 14.9 MB / 462.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.03066/0.3897, allocations: 13.41 MB / 0.5406 GB, free: 1.395 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3897, allocations: 8.031 kB / 0.5406 GB, free: 1.387 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3373/0.7271, allocations: 6.277 MB / 0.5467 GB, free: 111.1 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01177/0.7389, allocations: 7.252 MB / 0.5538 GB, free: 106.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/0.7392, allocations: 0.7214 MB / 0.5545 GB, free: 106.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001369/0.7406, allocations: 0.9411 MB / 0.5554 GB, free: 106.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02127/0.7619, allocations: 16.13 MB / 0.5712 GB, free: 92.81 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001638/0.762, allocations: 15.83 kB / 0.5712 GB, free: 92.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009756/0.763, allocations: 407.3 kB / 0.5716 GB, free: 92.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000357/0.7634, allocations: 0.5591 MB / 0.5721 GB, free: 91.85 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01885/0.7822, allocations: 15.1 MB / 0.5869 GB, free: 76.73 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05316/0.8354, allocations: 52.48 MB / 0.6381 GB, free: 23.37 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01391/0.8494, allocations: 20.09 MB / 0.6577 GB, free: 1.301 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004811/0.8542, allocations: 3.639 MB / 0.6613 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00038/0.8546, allocations: 261.4 kB / 0.6615 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.6e-05/0.8547, allocations: 82.05 kB / 0.6616 GB, free: 13.29 MB / 478.1 MB Notification: Performance of pre-optimization done (n=447): time 6.512e-06/0.8547, allocations: 0 / 0.6616 GB, free: 13.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.04871/0.9034, allocations: 20.64 MB / 0.6818 GB, free: 8.543 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.9035, allocations: 98.95 kB / 0.6819 GB, free: 8.434 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005699/0.9092, allocations: 4.498 MB / 0.6863 GB, free: 3.914 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002699/0.9095, allocations: 105.7 kB / 0.6864 GB, free: 3.805 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002578/0.912, allocations: 4.201 MB / 0.6905 GB, free: 15.55 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001126/0.9132, allocations: 1.533 MB / 0.692 GB, free: 14 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001756/0.9149, allocations: 1.192 MB / 0.6931 GB, free: 12.79 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.915, allocations: 309 kB / 0.6934 GB, free: 12.49 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004452/0.9195, allocations: 3.065 MB / 0.6964 GB, free: 9.418 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005872/0.9254, allocations: 5.211 MB / 0.7015 GB, free: 3.234 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0111/0.9365, allocations: 8.868 MB / 0.7102 GB, free: 9.395 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.813e-05/0.9365, allocations: 20 kB / 0.7102 GB, free: 9.375 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01578/0.9523, allocations: 9.866 MB / 0.7198 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.367e-05/0.9524, allocations: 35.94 kB / 0.7198 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.72e-05/0.9525, allocations: 68 kB / 0.7199 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003795/0.9563, allocations: 1.403 MB / 0.7213 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004847/0.9611, allocations: 1.384 MB / 0.7226 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01797/0.9791, allocations: 12.66 MB / 0.735 GB, free: 15.64 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003485/0.9826, allocations: 359.4 kB / 0.7353 GB, free: 15.29 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004868/0.9831, allocations: 292 kB / 0.7356 GB, free: 15 MB / 0.5451 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.005443/0.9886, allocations: 3.896 MB / 0.7394 GB, free: 11.09 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007943/0.9894, allocations: 454.3 kB / 0.7399 GB, free: 10.64 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/1.004, allocations: 8.51 MB / 0.7482 GB, free: 2.078 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-05/1.004, allocations: 19.92 kB / 0.7482 GB, free: 2.059 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/1.004, allocations: 0 / 0.7482 GB, free: 2.059 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002142/1.006, allocations: 1.085 MB / 0.7492 GB, free: 0.9492 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006321/1.006, allocations: 76 kB / 0.7493 GB, free: 0.875 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002207/1.009, allocations: 227.8 kB / 0.7495 GB, free: 0.6523 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005867/1.009, allocations: 331.2 kB / 0.7499 GB, free: 336 kB / 0.5451 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1958/1.205, allocations: 7.107 MB / 0.7568 GB, free: 185.7 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01095/1.216, allocations: 9.157 MB / 0.7657 GB, free: 182.1 MB / 0.5451 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002936/1.219, allocations: 2.778 MB / 0.7685 GB, free: 181 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.003464/1.222, allocations: 3.116 MB / 0.7715 GB, free: 179.9 MB / 0.5451 GB Notification: Performance of Backend: time 3.81e-07/1.222, allocations: 3.969 kB / 0.7715 GB, free: 179.9 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01053/1.233, allocations: 6.267 MB / 0.7776 GB, free: 177.4 MB / 0.5451 GB Notification: Performance of SimCode: time 0.02007/1.253, allocations: 16.81 MB / 0.794 GB, free: 165 MB / 0.5451 GB Notification: Performance of Templates: time 0.1059/1.359, allocations: 85 MB / 0.877 GB, free: 81.98 MB / 0.5451 GB 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 -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