Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001422/0.001423, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002106/0.002106, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.311, allocations: 50.55 MB / 410 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02982/0.3409, allocations: 27 MB / 437 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02011/0.361, allocations: 8.145 MB / 445.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007271/0.3683, allocations: 195.4 kB / 445.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02204/0.3904, allocations: 9.38 MB / 454.7 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0121/0.4026, allocations: 3.299 MB / 458 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00635/0.4089, allocations: 1.836 MB / 459.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01937/0.4283, allocations: 12.24 MB / 472.1 MB, free: 3.434 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04357/0.472, allocations: 24.38 MB / 496.4 MB, free: 10.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0121/0.4841, allocations: 6.48 MB / 0.4911 GB, free: 4.363 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01309/0.4973, allocations: 7.211 MB / 0.4982 GB, free: 13.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005948/0.5032, allocations: 1.84 MB / 0.5 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008483/0.5118, allocations: 2.222 MB / 0.5021 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007213/0.519, allocations: 3.601 MB / 0.5057 GB, free: 5.457 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01586/0.5349, allocations: 6.923 MB / 0.5124 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03294/0.5679, allocations: 24.76 MB / 0.5366 GB, free: 5.672 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.5679, allocations: 0 / 0.5366 GB, free: 5.672 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5679, allocations: 0 / 0.5366 GB, free: 5.672 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007892/0.5687, allocations: 4 kB / 0.5366 GB, free: 5.668 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.5666/1.135, allocations: 14.51 MB / 0.5508 GB, free: 108.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/1.135, allocations: 7.875 kB / 0.5508 GB, free: 108.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04629/1.182, allocations: 8.497 MB / 0.5591 GB, free: 103.9 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0167/1.198, allocations: 7.647 MB / 0.5665 GB, free: 96.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008407/1.199, allocations: 0.8024 MB / 0.5673 GB, free: 95.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005144/1.204, allocations: 1.062 MB / 0.5684 GB, free: 94.36 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04465/1.249, allocations: 18.29 MB / 0.5862 GB, free: 76.06 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005776/1.25, allocations: 15.75 kB / 0.5862 GB, free: 76.04 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004258/1.254, allocations: 454.8 kB / 0.5867 GB, free: 75.61 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006355/1.255, allocations: 0.6672 MB / 0.5873 GB, free: 74.95 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03463/1.289, allocations: 17.54 MB / 0.6045 GB, free: 57.39 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09412/1.384, allocations: 59.19 MB / 0.6623 GB, free: 12.72 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03673/1.42, allocations: 37.46 MB / 0.6988 GB, free: 3.324 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007945/1.428, allocations: 4.101 MB / 0.7029 GB, free: 15.2 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008188/1.429, allocations: 282.1 kB / 0.7031 GB, free: 14.89 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/1.429, allocations: 90.62 kB / 0.7032 GB, free: 14.79 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 1.384e-05/1.429, allocations: 3.984 kB / 0.7032 GB, free: 14.78 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.05878/1.488, allocations: 21.44 MB / 0.7241 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.813e-05/1.488, allocations: 111.5 kB / 0.7243 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009229/1.497, allocations: 4.179 MB / 0.7283 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001081/1.499, allocations: 109.7 kB / 0.7284 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003727/1.502, allocations: 4.525 MB / 0.7329 GB, free: 56 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002559/1.505, allocations: 1.764 MB / 0.7346 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004573/1.51, allocations: 1.358 MB / 0.7359 GB, free: 12.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.51, allocations: 305.1 kB / 0.7362 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00666/1.516, allocations: 3.441 MB / 0.7396 GB, free: 9.148 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01024/1.527, allocations: 5.877 MB / 0.7453 GB, free: 2.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2636/1.79, allocations: 10.02 MB / 0.7551 GB, free: 179.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.57e-05/1.79, allocations: 19.38 kB / 0.7551 GB, free: 179.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01653/1.807, allocations: 10.94 MB / 0.7658 GB, free: 175.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.184e-05/1.807, allocations: 38.88 kB / 0.7658 GB, free: 175.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/1.807, allocations: 78 kB / 0.7659 GB, free: 175.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003522/1.811, allocations: 1.451 MB / 0.7673 GB, free: 175.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005508/1.816, allocations: 1.606 MB / 0.7689 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0147/1.831, allocations: 11.48 MB / 0.7801 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005124/1.836, allocations: 417.5 kB / 0.7805 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009843/1.837, allocations: 334.7 kB / 0.7808 GB, free: 168.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006191/1.843, allocations: 4.167 MB / 0.7849 GB, free: 166.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/1.844, allocations: 476.1 kB / 0.7853 GB, free: 166.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/1.857, allocations: 8.481 MB / 0.7936 GB, free: 159.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009394/1.866, allocations: 7.084 MB / 0.8005 GB, free: 153.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-05/1.866, allocations: 12 kB / 0.8005 GB, free: 153.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.065e-05/1.866, allocations: 27.52 kB / 0.8006 GB, free: 153.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02695/1.893, allocations: 18.76 MB / 0.8189 GB, free: 134.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/1.893, allocations: 4 kB / 0.8189 GB, free: 134.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003491/1.897, allocations: 0.9404 MB / 0.8198 GB, free: 133.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003198/1.9, allocations: 1.305 MB / 0.8211 GB, free: 132.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004715/1.9, allocations: 108 kB / 0.8212 GB, free: 132.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/1.912, allocations: 10.18 MB / 0.8311 GB, free: 122 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/1.912, allocations: 4.938 kB / 0.8311 GB, free: 122 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01602/1.928, allocations: 12.27 MB / 0.8431 GB, free: 109.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003086/1.931, allocations: 1.155 MB / 0.8443 GB, free: 108.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009826/1.932, allocations: 92 kB / 0.8443 GB, free: 108.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002599/1.935, allocations: 275.8 kB / 0.8446 GB, free: 108 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006784/1.936, allocations: 348.3 kB / 0.8449 GB, free: 107.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000276/1.936, allocations: 148 kB / 0.8451 GB, free: 107.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003967/1.94, allocations: 2.819 MB / 0.8478 GB, free: 104.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/1.94, allocations: 0 / 0.8478 GB, free: 104.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007313/1.947, allocations: 1.936 MB / 0.8497 GB, free: 102.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.port_p.reference.gamma,speed.phi) * 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 (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001103/1.948, allocations: 312.6 kB / 0.85 GB, free: 102.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01326/1.962, allocations: 8.74 MB / 0.8586 GB, free: 93.67 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.962, allocations: 0 / 0.8586 GB, free: 93.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007127/1.969, allocations: 4.188 MB / 0.8626 GB, free: 89.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007155/1.976, allocations: 1.137 MB / 0.8638 GB, free: 88.35 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03758/2.014, allocations: 18.91 MB / 0.8822 GB, free: 69.35 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008642/2.022, allocations: 6.802 MB / 0.8889 GB, free: 62.51 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002777/2.025, allocations: 463.3 kB / 0.8893 GB, free: 62.05 MB / 0.545 GB Notification: Performance of SimCode: time 2.104e-06/2.025, allocations: 0 / 0.8893 GB, free: 62.05 MB / 0.545 GB Notification: Performance of Templates: time 0.4206/2.446, allocations: 182.3 MB / 1.067 GB, free: 90.69 MB / 0.5607 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches