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.001143/0.001143, allocations: 117.6 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 205.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.67 kB / 306.5 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08687/0.0881, allocations: 50.54 MB / 357 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1707/0.2589, allocations: 24.44 MB / 381.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01401/0.2729, allocations: 7.948 MB / 389.4 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004167/0.2771, allocations: 171.4 kB / 389.6 MB, free: 3.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01655/0.2937, allocations: 7.949 MB / 397.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009371/0.3031, allocations: 2.725 MB / 400.2 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004908/0.308, allocations: 1.71 MB / 401.9 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01291/0.3209, allocations: 11.21 MB / 413.2 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03566/0.3566, allocations: 26.89 MB / 440 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009238/0.3659, allocations: 5.95 MB / 446 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01158/0.3775, allocations: 6.584 MB / 452.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005096/0.3827, allocations: 1.715 MB / 454.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0068/0.3895, allocations: 2.164 MB / 456.5 MB, free: 9.203 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005024/0.3945, allocations: 3.363 MB / 459.8 MB, free: 5.832 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01061/0.4052, allocations: 6.366 MB / 466.2 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02342/0.4286, allocations: 23.02 MB / 489.2 MB, free: 8.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.4287, allocations: 0 / 489.2 MB, free: 8.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4287, allocations: 4 kB / 489.2 MB, free: 8.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005244/0.4292, allocations: 0 / 489.2 MB, free: 8.355 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.03916/0.4684, allocations: 13.49 MB / 0.4909 GB, free: 10.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.4684, allocations: 12.03 kB / 0.4909 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03587/0.5043, allocations: 6.227 MB / 0.497 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01735/0.5217, allocations: 7.073 MB / 0.5039 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007585/0.5225, allocations: 0.7225 MB / 0.5046 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004219/0.5268, allocations: 0.9452 MB / 0.5055 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04633/0.5731, allocations: 16.15 MB / 0.5213 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002864/0.5734, allocations: 11.89 kB / 0.5213 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002395/0.5758, allocations: 404 kB / 0.5217 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005329/0.5764, allocations: 0.5553 MB / 0.5223 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.247/0.8234, allocations: 15.1 MB / 0.537 GB, free: 128 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07764/0.9011, allocations: 53.1 MB / 0.5889 GB, free: 93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01457/0.9157, allocations: 20.13 MB / 0.6085 GB, free: 74.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004503/0.9202, allocations: 3.665 MB / 0.6121 GB, free: 70.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004464/0.9207, allocations: 268 kB / 0.6124 GB, free: 70.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.177e-05/0.9208, allocations: 78.09 kB / 0.6124 GB, free: 70.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=453): time 8.055e-06/0.9208, allocations: 4 kB / 0.6124 GB, free: 70.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=458): time 0.04544/0.9662, allocations: 20.65 MB / 0.6326 GB, free: 49.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.9663, allocations: 98.97 kB / 0.6327 GB, free: 49.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00608/0.9724, allocations: 4.505 MB / 0.6371 GB, free: 44.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004735/0.9729, allocations: 97.7 kB / 0.6372 GB, free: 44.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001819/0.9747, allocations: 4.195 MB / 0.6413 GB, free: 40.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001184/0.9759, allocations: 1.547 MB / 0.6428 GB, free: 38.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00196/0.9779, allocations: 1.2 MB / 0.644 GB, free: 37.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.986e-05/0.9779, allocations: 301.1 kB / 0.6442 GB, free: 37.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003931/0.9819, allocations: 3.096 MB / 0.6473 GB, free: 34.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004663/0.9865, allocations: 5.25 MB / 0.6524 GB, free: 28.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009075/0.9956, allocations: 8.935 MB / 0.6611 GB, free: 18.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.302e-05/0.9957, allocations: 23.94 kB / 0.6611 GB, free: 18.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01441/1.01, allocations: 9.912 MB / 0.6708 GB, free: 8.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.883e-05/1.01, allocations: 32 kB / 0.6709 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-05/1.01, allocations: 71.94 kB / 0.6709 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003317/1.014, allocations: 1.39 MB / 0.6723 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004755/1.018, allocations: 1.384 MB / 0.6736 GB, free: 5.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01587/1.034, allocations: 12.51 MB / 0.6859 GB, free: 8.586 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004452/1.039, allocations: 359.4 kB / 0.6862 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001192/1.04, allocations: 296 kB / 0.6865 GB, free: 7.945 MB / 462.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.006957/1.047, allocations: 3.889 MB / 0.6903 GB, free: 4.043 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00125/1.048, allocations: 458.3 kB / 0.6907 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01451/1.063, allocations: 8.583 MB / 0.6991 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01009/1.073, allocations: 6.293 MB / 0.7052 GB, free: 4.641 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.709e-05/1.073, allocations: 15.94 kB / 0.7053 GB, free: 4.625 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.554e-05/1.073, allocations: 27.91 kB / 0.7053 GB, free: 4.598 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2117/1.285, allocations: 17.73 MB / 0.7226 GB, free: 145.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.393e-05/1.285, allocations: 11.55 kB / 0.7226 GB, free: 145.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003403/1.288, allocations: 0.8045 MB / 0.7234 GB, free: 145.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003521/1.292, allocations: 1.286 MB / 0.7246 GB, free: 145.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005783/1.292, allocations: 106.8 kB / 0.7248 GB, free: 145.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01374/1.306, allocations: 11.44 MB / 0.7359 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/1.306, allocations: 15.77 kB / 0.7359 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01775/1.324, allocations: 11.27 MB / 0.7469 GB, free: 133.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002716/1.327, allocations: 1.098 MB / 0.748 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001316/1.328, allocations: 91.91 kB / 0.7481 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00293/1.331, allocations: 237 kB / 0.7483 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009673/1.332, allocations: 332 kB / 0.7486 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004474/1.332, allocations: 141.9 kB / 0.7488 GB, free: 133.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004684/1.337, allocations: 3.113 MB / 0.7518 GB, free: 132 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.51e-07/1.337, allocations: 0 / 0.7518 GB, free: 132 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005776/1.343, allocations: 1.73 MB / 0.7535 GB, free: 131.6 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.001537/1.344, allocations: 0.5374 MB / 0.754 GB, free: 131.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03169/1.376, allocations: 15.25 MB / 0.7689 GB, free: 117.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/1.376, allocations: 4 kB / 0.7689 GB, free: 117.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006031/1.382, allocations: 3.977 MB / 0.7728 GB, free: 113.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005121/1.387, allocations: 1.06 MB / 0.7738 GB, free: 112.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02834/1.416, allocations: 22.4 MB / 0.7957 GB, free: 91.98 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00534/1.421, allocations: 6.511 MB / 0.8021 GB, free: 85.65 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005483/1.427, allocations: 2.13 MB / 0.8042 GB, free: 83.51 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/1.428, allocations: 375.4 kB / 0.8045 GB, free: 83.14 MB / 478.1 MB Notification: Performance of SimCode: time 6.92e-07/1.428, allocations: 0 / 0.8045 GB, free: 83.14 MB / 478.1 MB Notification: Performance of Templates: time 0.1107/1.538, allocations: 75.57 MB / 0.8783 GB, free: 8.039 MB / 478.1 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 -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/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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches