Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_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.001308/0.001308, allocations: 118.6 kB / 18.45 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 211.7 kB / 19.4 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.41/1.41, allocations: 227.6 MB / 247.8 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 55.91 kB / 359.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.236, allocations: 50.54 MB / 410.2 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02734/0.2634, allocations: 24.96 MB / 435.2 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01477/0.2781, allocations: 8.07 MB / 443.3 MB, free: 252 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003812/0.282, allocations: 179.5 kB / 443.5 MB, free: 72 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01893/0.3009, allocations: 8.457 MB / 451.9 MB, free: 7.598 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009403/0.3103, allocations: 3.06 MB / 455 MB, free: 4.527 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005669/0.316, allocations: 1.837 MB / 456.8 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0151/0.3311, allocations: 11.21 MB / 468 MB, free: 7.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0249/0.356, allocations: 17.41 MB / 485.4 MB, free: 5.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007785/0.3637, allocations: 5.938 MB / 491.4 MB, free: 15.92 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009007/0.3727, allocations: 6.483 MB / 497.9 MB, free: 9.418 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002975/0.3757, allocations: 1.715 MB / 499.6 MB, free: 7.703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004342/0.3801, allocations: 2.148 MB / 0.49 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00344/0.3835, allocations: 3.406 MB / 0.4933 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007984/0.3915, allocations: 6.358 MB / 0.4995 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02513/0.4166, allocations: 23.19 MB / 0.5221 GB, free: 4.496 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4166, allocations: 0 / 0.5221 GB, free: 4.496 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4166, allocations: 0 / 0.5221 GB, free: 4.496 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004691/0.4171, allocations: 0 / 0.5221 GB, free: 4.496 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.03918/0.4563, allocations: 13.65 MB / 0.5355 GB, free: 6.727 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4563, allocations: 12.03 kB / 0.5355 GB, free: 6.715 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0369/0.4932, allocations: 6.334 MB / 0.5417 GB, free: 376 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4155/0.9088, allocations: 7.271 MB / 0.5488 GB, free: 105.4 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004678/0.9092, allocations: 0.7172 MB / 0.5495 GB, free: 105.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002972/0.9122, allocations: 0.9476 MB / 0.5504 GB, free: 104.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0296/0.9418, allocations: 16.13 MB / 0.5661 GB, free: 97.37 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003545/0.9421, allocations: 13.83 kB / 0.5662 GB, free: 97.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002493/0.9446, allocations: 400.9 kB / 0.5665 GB, free: 97.06 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004719/0.9451, allocations: 0.5618 MB / 0.5671 GB, free: 96.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02626/0.9714, allocations: 15.11 MB / 0.5818 GB, free: 81.6 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07461/1.046, allocations: 52.62 MB / 0.6332 GB, free: 28.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0157/1.062, allocations: 19.66 MB / 0.6524 GB, free: 6.91 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005194/1.067, allocations: 3.328 MB / 0.6557 GB, free: 3.582 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004989/1.067, allocations: 268.2 kB / 0.6559 GB, free: 3.301 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.724e-05/1.067, allocations: 82.06 kB / 0.656 GB, free: 3.211 MB / 462.1 MB Notification: Performance of pre-optimization done (n=447): time 7.364e-06/1.067, allocations: 0 / 0.656 GB, free: 3.211 MB / 462.1 MB Notification: Performance of matching and sorting (n=452): time 0.05504/1.122, allocations: 20.72 MB / 0.6762 GB, free: 14.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/1.123, allocations: 94.95 kB / 0.6763 GB, free: 14.53 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0075/1.13, allocations: 4.502 MB / 0.6807 GB, free: 10.01 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007524/1.131, allocations: 101.7 kB / 0.6808 GB, free: 9.902 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003609/1.134, allocations: 4.337 MB / 0.6851 GB, free: 5.555 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002186/1.137, allocations: 1.616 MB / 0.6866 GB, free: 3.957 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002119/1.139, allocations: 1.196 MB / 0.6878 GB, free: 2.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/1.139, allocations: 309 kB / 0.6881 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005478/1.144, allocations: 3.07 MB / 0.6911 GB, free: 15.37 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007445/1.152, allocations: 5.211 MB / 0.6962 GB, free: 9.188 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01352/1.165, allocations: 8.868 MB / 0.7049 GB, free: 15.35 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.907e-05/1.165, allocations: 24 kB / 0.7049 GB, free: 15.32 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01926/1.185, allocations: 9.837 MB / 0.7145 GB, free: 5.473 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.286e-05/1.185, allocations: 43.97 kB / 0.7145 GB, free: 5.43 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001102/1.185, allocations: 72 kB / 0.7146 GB, free: 5.359 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004066/1.189, allocations: 1.403 MB / 0.716 GB, free: 3.949 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005328/1.194, allocations: 1.384 MB / 0.7173 GB, free: 2.562 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01933/1.214, allocations: 12.68 MB / 0.7297 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004683/1.218, allocations: 355.5 kB / 0.73 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009253/1.219, allocations: 296 kB / 0.7303 GB, free: 4.988 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.006827/1.226, allocations: 3.888 MB / 0.7341 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/1.227, allocations: 488.8 kB / 0.7346 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01513/1.242, allocations: 8.467 MB / 0.7428 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01108/1.253, allocations: 6.205 MB / 0.7489 GB, free: 1.863 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-05/1.253, allocations: 12 kB / 0.7489 GB, free: 1.852 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.22e-05/1.253, allocations: 23.91 kB / 0.7489 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2275/1.481, allocations: 17.36 MB / 0.7659 GB, free: 179.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/1.481, allocations: 7.438 kB / 0.7659 GB, free: 179.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003188/1.484, allocations: 0.8098 MB / 0.7667 GB, free: 179.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003364/1.488, allocations: 1.285 MB / 0.7679 GB, free: 178.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004593/1.488, allocations: 107.2 kB / 0.7681 GB, free: 178.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01367/1.502, allocations: 11.58 MB / 0.7794 GB, free: 171.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.502, allocations: 11.75 kB / 0.7794 GB, free: 171.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/1.517, allocations: 11.18 MB / 0.7903 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002318/1.519, allocations: 1.113 MB / 0.7914 GB, free: 166.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006868/1.52, allocations: 89.97 kB / 0.7915 GB, free: 166.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002324/1.522, allocations: 232.9 kB / 0.7917 GB, free: 166.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006013/1.523, allocations: 327.8 kB / 0.792 GB, free: 166.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002456/1.523, allocations: 131.8 kB / 0.7921 GB, free: 166 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003648/1.527, allocations: 3.122 MB / 0.7952 GB, free: 163.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.527, allocations: 0 / 0.7952 GB, free: 163.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005695/1.532, allocations: 1.722 MB / 0.7968 GB, free: 161.7 MB / 0.545 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.002263/1.535, allocations: 0.5482 MB / 0.7974 GB, free: 161.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0119/1.546, allocations: 7.65 MB / 0.8049 GB, free: 154.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/1.546, allocations: 320 / 0.8049 GB, free: 154.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006395/1.553, allocations: 3.692 MB / 0.8085 GB, free: 151.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005674/1.559, allocations: 1.057 MB / 0.8095 GB, free: 150.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03021/1.589, allocations: 18.33 MB / 0.8274 GB, free: 132 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008921/1.598, allocations: 6.505 MB / 0.8337 GB, free: 125.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006079/1.604, allocations: 2.123 MB / 0.8358 GB, free: 123.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001672/1.605, allocations: 379.4 kB / 0.8362 GB, free: 123 MB / 0.545 GB Notification: Performance of SimCode: time 9.22e-07/1.605, allocations: 0 / 0.8362 GB, free: 123 MB / 0.545 GB Notification: Performance of Templates: time 0.1125/1.718, allocations: 72.81 MB / 0.9073 GB, free: 50.72 MB / 0.545 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches