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.001795/0.001795, allocations: 121.7 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00214/0.00214, allocations: 205.2 kB / 18.79 MB, free: 4.102 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.441/1.441, allocations: 230.4 MB / 250 MB, free: 8.988 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.001866/0.001866, allocations: 67.84 kB / 367.4 MB, free: 6.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2573, allocations: 53.31 MB / 420.7 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02894/0.2862, allocations: 24.98 MB / 445.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01839/0.3046, allocations: 8.082 MB / 453.8 MB, free: 7.129 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006672/0.3113, allocations: 179.5 kB / 453.9 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02086/0.3321, allocations: 8.464 MB / 462.4 MB, free: 14.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01125/0.3434, allocations: 3.069 MB / 465.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007429/0.3508, allocations: 1.842 MB / 467.3 MB, free: 9.559 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01738/0.3682, allocations: 11.2 MB / 478.5 MB, free: 14.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02906/0.3973, allocations: 17.42 MB / 495.9 MB, free: 12.74 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01139/0.4086, allocations: 5.927 MB / 0.4901 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01123/0.4199, allocations: 6.549 MB / 0.4965 GB, free: 232 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004723/0.4246, allocations: 1.715 MB / 0.4982 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009228/0.4338, allocations: 2.152 MB / 0.5003 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006517/0.4403, allocations: 3.41 MB / 0.5036 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01426/0.4546, allocations: 6.362 MB / 0.5098 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03351/0.4881, allocations: 23.19 MB / 0.5325 GB, free: 11.29 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.4881, allocations: 0 / 0.5325 GB, free: 11.29 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4881, allocations: 0 / 0.5325 GB, free: 11.29 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006873/0.4888, allocations: 0 / 0.5325 GB, free: 11.29 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.5027/0.9915, allocations: 13.65 MB / 0.5458 GB, free: 100.1 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.9915, allocations: 9.531 kB / 0.5458 GB, free: 100.1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03332/1.025, allocations: 6.335 MB / 0.552 GB, free: 99.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01169/1.037, allocations: 7.284 MB / 0.5591 GB, free: 94.55 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004076/1.037, allocations: 0.714 MB / 0.5598 GB, free: 94.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002783/1.04, allocations: 0.9443 MB / 0.5607 GB, free: 93.92 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02977/1.07, allocations: 16.13 MB / 0.5765 GB, free: 78.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002897/1.07, allocations: 17.03 kB / 0.5765 GB, free: 78.96 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002575/1.072, allocations: 403.3 kB / 0.5769 GB, free: 78.58 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004261/1.073, allocations: 0.5552 MB / 0.5774 GB, free: 78.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02608/1.099, allocations: 15.11 MB / 0.5922 GB, free: 62.89 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06917/1.168, allocations: 52.62 MB / 0.6436 GB, free: 9.789 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01819/1.186, allocations: 19.65 MB / 0.6628 GB, free: 4.156 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006489/1.193, allocations: 3.324 MB / 0.666 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006545/1.193, allocations: 269.6 kB / 0.6663 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.798e-05/1.193, allocations: 78.06 kB / 0.6663 GB, free: 452 kB / 478.1 MB Notification: Performance of pre-optimization done (n=447): time 8.185e-06/1.193, allocations: 3.938 kB / 0.6663 GB, free: 448 kB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.05369/1.247, allocations: 20.71 MB / 0.6866 GB, free: 11.79 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/1.247, allocations: 98.95 kB / 0.6867 GB, free: 11.68 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00673/1.254, allocations: 4.518 MB / 0.6911 GB, free: 7.137 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0006119/1.255, allocations: 101.7 kB / 0.6912 GB, free: 7.031 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003953/1.259, allocations: 4.337 MB / 0.6954 GB, free: 2.656 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002408/1.261, allocations: 1.608 MB / 0.697 GB, free: 1.035 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002097/1.263, allocations: 1.2 MB / 0.6981 GB, free: 15.82 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.263, allocations: 301.1 kB / 0.6984 GB, free: 15.52 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004835/1.268, allocations: 3.061 MB / 0.7014 GB, free: 12.46 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006887/1.275, allocations: 5.219 MB / 0.7065 GB, free: 6.266 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01373/1.289, allocations: 8.867 MB / 0.7152 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.087e-05/1.289, allocations: 20 kB / 0.7152 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01827/1.307, allocations: 9.849 MB / 0.7248 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.334e-05/1.307, allocations: 36 kB / 0.7248 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/1.307, allocations: 68 kB / 0.7249 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003902/1.311, allocations: 1.4 MB / 0.7263 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005084/1.316, allocations: 1.392 MB / 0.7276 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01963/1.336, allocations: 12.68 MB / 0.74 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004284/1.34, allocations: 359.5 kB / 0.7404 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009861/1.341, allocations: 296 kB / 0.7407 GB, free: 2.031 MB / 0.545 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.007403/1.348, allocations: 3.88 MB / 0.7444 GB, free: 14.13 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001521/1.35, allocations: 488.9 kB / 0.7449 GB, free: 13.65 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01666/1.367, allocations: 8.468 MB / 0.7532 GB, free: 5.129 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2339/1.601, allocations: 6.199 MB / 0.7592 GB, free: 191.3 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.145e-05/1.601, allocations: 16.06 kB / 0.7592 GB, free: 191.3 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001083/1.601, allocations: 23.17 kB / 0.7593 GB, free: 191.3 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02817/1.629, allocations: 17.37 MB / 0.7762 GB, free: 185.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/1.629, allocations: 7.406 kB / 0.7762 GB, free: 185.7 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003059/1.632, allocations: 0.803 MB / 0.777 GB, free: 185.6 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003151/1.635, allocations: 1.284 MB / 0.7783 GB, free: 185.4 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003469/1.635, allocations: 98.48 kB / 0.7784 GB, free: 185.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01317/1.649, allocations: 11.58 MB / 0.7897 GB, free: 178.4 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/1.649, allocations: 19.36 kB / 0.7897 GB, free: 178.4 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01685/1.665, allocations: 11.17 MB / 0.8006 GB, free: 173.7 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002549/1.668, allocations: 1.119 MB / 0.8017 GB, free: 173.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009121/1.669, allocations: 85.56 kB / 0.8018 GB, free: 173.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002592/1.671, allocations: 230.6 kB / 0.802 GB, free: 173.1 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008093/1.672, allocations: 337.6 kB / 0.8023 GB, free: 172.9 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002742/1.673, allocations: 128 kB / 0.8024 GB, free: 172.8 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004447/1.677, allocations: 3.117 MB / 0.8055 GB, free: 169.7 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8e-08/1.677, allocations: 0 / 0.8055 GB, free: 169.7 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007489/1.685, allocations: 1.725 MB / 0.8072 GB, free: 167.9 MB / 0.5607 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.001995/1.687, allocations: 0.5477 MB / 0.8077 GB, free: 167.6 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01162/1.698, allocations: 7.649 MB / 0.8152 GB, free: 160 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.645e-05/1.698, allocations: 7.609 kB / 0.8152 GB, free: 160 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006694/1.705, allocations: 3.689 MB / 0.8188 GB, free: 156.3 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005174/1.71, allocations: 1.055 MB / 0.8198 GB, free: 155.3 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02874/1.739, allocations: 18.33 MB / 0.8377 GB, free: 136.9 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006538/1.745, allocations: 6.505 MB / 0.8441 GB, free: 130.3 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005271/1.751, allocations: 2.127 MB / 0.8461 GB, free: 128.2 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/1.752, allocations: 379.4 kB / 0.8465 GB, free: 127.8 MB / 0.5607 GB Notification: Performance of SimCode: time 1.262e-06/1.752, allocations: 0 / 0.8465 GB, free: 127.8 MB / 0.5607 GB Notification: Performance of Templates: time 0.1127/1.864, allocations: 73.26 MB / 0.918 GB, free: 55.07 MB / 0.5607 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 -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/jenkins/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/jenkins/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