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.001673/0.001673, allocations: 113.7 kB / 18.45 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.002328/0.002328, allocations: 202.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.991/1.991, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 63.89 kB / 359.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5296/0.532, 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.03508/0.5672, allocations: 24.88 MB / 434.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02257/0.5898, allocations: 8.052 MB / 442.9 MB, free: 488 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00699/0.5968, allocations: 183.4 kB / 443.1 MB, free: 304 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03045/0.6274, allocations: 8.371 MB / 451.5 MB, free: 7.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01963/0.647, allocations: 3.011 MB / 454.5 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009894/0.657, allocations: 1.827 MB / 456.3 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02709/0.6841, allocations: 11.22 MB / 467.5 MB, free: 7.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05899/0.7431, allocations: 23.32 MB / 490.8 MB, free: 332 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01217/0.7554, allocations: 5.931 MB / 496.8 MB, free: 10.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01335/0.7688, allocations: 6.479 MB / 0.4915 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005834/0.7746, allocations: 1.715 MB / 0.4931 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007201/0.7819, allocations: 2.152 MB / 0.4952 GB, free: 12 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00549/0.7874, allocations: 3.402 MB / 0.4986 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01046/0.7979, allocations: 6.354 MB / 0.5048 GB, free: 6.223 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05356/0.8515, allocations: 23.14 MB / 0.5274 GB, free: 15.01 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.375e-05/0.8516, allocations: 0 / 0.5274 GB, free: 15.01 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.8516, allocations: 0 / 0.5274 GB, free: 15.01 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008039/0.8524, allocations: 0 / 0.5274 GB, free: 15.01 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.0597/0.9121, allocations: 13.41 MB / 0.5405 GB, free: 1.504 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.9122, allocations: 12.03 kB / 0.5405 GB, free: 1.492 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.538/1.45, allocations: 6.278 MB / 0.5466 GB, free: 113.1 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03026/1.481, allocations: 7.253 MB / 0.5537 GB, free: 109.1 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001557/1.482, allocations: 0.7164 MB / 0.5544 GB, free: 108.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008964/1.491, allocations: 0.9495 MB / 0.5553 GB, free: 108.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08495/1.576, allocations: 16.13 MB / 0.5711 GB, free: 95.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009836/1.577, allocations: 11.91 kB / 0.5711 GB, free: 95.09 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007816/1.585, allocations: 407 kB / 0.5715 GB, free: 94.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001245/1.587, allocations: 0.5591 MB / 0.572 GB, free: 94.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06267/1.649, allocations: 15.1 MB / 0.5868 GB, free: 79.02 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1591/1.808, allocations: 52.49 MB / 0.638 GB, free: 25.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02832/1.837, allocations: 20.09 MB / 0.6576 GB, free: 3.594 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009217/1.846, allocations: 3.645 MB / 0.6612 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/1.847, allocations: 262.5 kB / 0.6614 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/1.848, allocations: 82.05 kB / 0.6615 GB, free: 15.58 MB / 478.1 MB Notification: Performance of pre-optimization done (n=447): time 1.262e-05/1.848, allocations: 0 / 0.6615 GB, free: 15.58 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.09651/1.944, allocations: 20.63 MB / 0.6817 GB, free: 10.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001854/1.944, allocations: 98.95 kB / 0.6818 GB, free: 10.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02246/1.967, allocations: 4.505 MB / 0.6862 GB, free: 6.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001787/1.969, allocations: 97.7 kB / 0.6862 GB, free: 6.129 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006632/1.975, allocations: 4.197 MB / 0.6903 GB, free: 1.879 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003834/1.979, allocations: 1.533 MB / 0.6918 GB, free: 332 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00826/1.988, allocations: 1.192 MB / 0.693 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001803/1.988, allocations: 301.1 kB / 0.6933 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01094/1.999, allocations: 3.065 MB / 0.6963 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01511/2.014, allocations: 5.219 MB / 0.7014 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02682/2.041, allocations: 8.864 MB / 0.71 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002192/2.041, allocations: 20 kB / 0.7101 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.04145/2.083, allocations: 9.866 MB / 0.7197 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001616/2.083, allocations: 36 kB / 0.7197 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002738/2.083, allocations: 71.94 kB / 0.7198 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007063/2.09, allocations: 1.403 MB / 0.7212 GB, free: 308 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01085/2.101, allocations: 1.384 MB / 0.7225 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03503/2.137, allocations: 12.67 MB / 0.7349 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/2.147, allocations: 359.4 kB / 0.7352 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003086/2.15, allocations: 292 kB / 0.7355 GB, free: 1.324 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.01586/2.166, allocations: 3.888 MB / 0.7393 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002229/2.169, allocations: 458.4 kB / 0.7397 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02618/2.195, allocations: 8.506 MB / 0.7481 GB, free: 4.406 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.673/2.868, allocations: 6.242 MB / 0.7542 GB, free: 187 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.177e-05/2.868, allocations: 19.39 kB / 0.7542 GB, free: 187 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002179/2.868, allocations: 22.83 kB / 0.7542 GB, free: 187 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06705/2.935, allocations: 17.41 MB / 0.7712 GB, free: 180.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.847e-05/2.936, allocations: 7.406 kB / 0.7712 GB, free: 180.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006061/2.942, allocations: 0.8084 MB / 0.772 GB, free: 180.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005839/2.948, allocations: 1.283 MB / 0.7732 GB, free: 180.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001659/2.949, allocations: 106.5 kB / 0.7733 GB, free: 180.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02361/2.973, allocations: 11.55 MB / 0.7846 GB, free: 173.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.419e-05/2.973, allocations: 12.88 kB / 0.7846 GB, free: 173.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0296/3.003, allocations: 11.2 MB / 0.7956 GB, free: 168.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005069/3.008, allocations: 1.087 MB / 0.7966 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002004/3.01, allocations: 95.5 kB / 0.7967 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006454/3.016, allocations: 234.2 kB / 0.797 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001679/3.018, allocations: 325 kB / 0.7973 GB, free: 167 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000888/3.019, allocations: 136.4 kB / 0.7974 GB, free: 166.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0106/3.03, allocations: 3.122 MB / 0.8004 GB, free: 163.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.32e-07/3.03, allocations: 0 / 0.8004 GB, free: 163.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01701/3.047, allocations: 1.724 MB / 0.8021 GB, free: 162 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.004225/3.051, allocations: 0.5287 MB / 0.8026 GB, free: 161.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0231/3.074, allocations: 7.982 MB / 0.8104 GB, free: 153.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.168e-05/3.074, allocations: 0 / 0.8104 GB, free: 153.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01105/3.085, allocations: 3.936 MB / 0.8143 GB, free: 149.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007876/3.093, allocations: 1.062 MB / 0.8153 GB, free: 148.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0382/3.131, allocations: 17.8 MB / 0.8327 GB, free: 130.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006862/3.138, allocations: 6.328 MB / 0.8389 GB, free: 124.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00222/3.141, allocations: 423.3 kB / 0.8393 GB, free: 124 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/3.141, allocations: 0 / 0.8393 GB, free: 124 MB / 0.545 GB Notification: Performance of Templates: time 1.604/4.745, allocations: 229.4 MB / 1.063 GB, free: 91.25 MB / 0.545 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