Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003476/0.003476, allocations: 160.7 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8792/0.8792, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_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=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 325.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.489e-05, allocations: 2.281 kB / 325.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.01803/0.01805, allocations: 23.25 MB / 349.1 MB, free: 8.035 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01489/0.03294, allocations: 7.853 MB / 357 MB, free: 164 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005222/0.03817, allocations: 238.9 kB / 357.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01051/0.04867, allocations: 9.248 MB / 366.5 MB, free: 6.652 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009188/0.05786, allocations: 3.44 MB / 369.9 MB, free: 3.199 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003559/0.06142, allocations: 1.82 MB / 371.7 MB, free: 1.387 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01159/0.07301, allocations: 12.76 MB / 384.5 MB, free: 4.57 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01778/0.09079, allocations: 15.89 MB / 400.4 MB, free: 4.496 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01266/0.1034, allocations: 9.716 MB / 410.1 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008371/0.1118, allocations: 6.272 MB / 416.4 MB, free: 4.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003218/0.115, allocations: 1.836 MB / 418.2 MB, free: 2.645 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004192/0.1192, allocations: 2.23 MB / 420.4 MB, free: 424 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002019/0.1212, allocations: 3.67 MB / 424.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005273/0.1265, allocations: 4.636 MB / 428.7 MB, free: 8.09 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2172/0.3438, allocations: 25.12 MB / 453.8 MB, free: 47.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3438, allocations: 0 / 453.8 MB, free: 47.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3438, allocations: 0.5 kB / 453.8 MB, free: 47.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.00075/0.3445, allocations: 0 / 453.8 MB, free: 47.58 MB / 410.7 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.0258/0.3703, allocations: 14.55 MB / 468.4 MB, free: 43.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.3704, allocations: 10.09 kB / 468.4 MB, free: 43.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02223/0.3926, allocations: 8.446 MB / 476.9 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01246/0.405, allocations: 7.808 MB / 484.7 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004653/0.4055, allocations: 0.8105 MB / 485.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00333/0.4088, allocations: 1.062 MB / 486.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02427/0.4331, allocations: 18.55 MB / 0.4932 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001734/0.4333, allocations: 15.19 kB / 0.4933 GB, free: 26.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008017/0.4341, allocations: 448.2 kB / 0.4937 GB, free: 25.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000331/0.4344, allocations: 0.6672 MB / 0.4943 GB, free: 25.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02105/0.4555, allocations: 17.49 MB / 0.5114 GB, free: 7.602 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06358/0.519, allocations: 50.35 MB / 0.5606 GB, free: 5.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01342/0.5325, allocations: 12.66 MB / 0.5729 GB, free: 10.55 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004134/0.5366, allocations: 3.737 MB / 0.5766 GB, free: 6.793 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003193/0.5369, allocations: 127.9 kB / 0.5767 GB, free: 6.664 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.928e-05/0.537, allocations: 86.62 kB / 0.5768 GB, free: 6.566 MB / 474.7 MB Notification: Performance of pre-optimization done (n=518): time 6.903e-06/0.537, allocations: 0 / 0.5768 GB, free: 6.566 MB / 474.7 MB Notification: Performance of matching and sorting (n=524): time 0.0314/0.5684, allocations: 21.23 MB / 0.5975 GB, free: 1.203 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.5685, allocations: 103.5 kB / 0.5976 GB, free: 1.086 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004971/0.5734, allocations: 4.003 MB / 0.6015 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002406/0.5737, allocations: 113.7 kB / 0.6017 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002465/0.5761, allocations: 4.675 MB / 0.6062 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001228/0.5774, allocations: 1.838 MB / 0.608 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001533/0.5789, allocations: 1.359 MB / 0.6093 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.579, allocations: 308.7 kB / 0.6096 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004002/0.583, allocations: 3.434 MB / 0.613 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00475/0.5877, allocations: 5.891 MB / 0.6187 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00891/0.5967, allocations: 10.02 MB / 0.6285 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.293e-05/0.5967, allocations: 24 kB / 0.6285 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0125/0.6092, allocations: 10.87 MB / 0.6392 GB, free: 5.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003026/0.6095, allocations: 43.98 kB / 0.6392 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.899e-05/0.6096, allocations: 79.94 kB / 0.6393 GB, free: 4.949 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002017/0.6116, allocations: 1.376 MB / 0.6406 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002827/0.6145, allocations: 1.626 MB / 0.6422 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1939/0.8083, allocations: 10.92 MB / 0.6529 GB, free: 200.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003543/0.8119, allocations: 402.3 kB / 0.6533 GB, free: 200.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003433/0.8122, allocations: 339.6 kB / 0.6536 GB, free: 200.5 MB / 0.5261 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.004799/0.817, allocations: 4.171 MB / 0.6577 GB, free: 198.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000626/0.8177, allocations: 472.4 kB / 0.6581 GB, free: 198.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008305/0.826, allocations: 8.388 MB / 0.6663 GB, free: 195.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006331/0.8323, allocations: 7.024 MB / 0.6732 GB, free: 192.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.8323, allocations: 11.62 kB / 0.6732 GB, free: 192.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.829e-05/0.8323, allocations: 30.23 kB / 0.6732 GB, free: 192.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/0.8488, allocations: 16.13 MB / 0.6889 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.8488, allocations: 0 / 0.6889 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/0.8506, allocations: 0.9444 MB / 0.6899 GB, free: 180.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001665/0.8523, allocations: 1.231 MB / 0.6911 GB, free: 179.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002098/0.8525, allocations: 124.7 kB / 0.6912 GB, free: 179.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007843/0.8603, allocations: 9.648 MB / 0.7006 GB, free: 170.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8603, allocations: 3.938 kB / 0.7006 GB, free: 170.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/0.8709, allocations: 12.2 MB / 0.7125 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/0.8726, allocations: 1.099 MB / 0.7136 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003478/0.8729, allocations: 92 kB / 0.7137 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.874, allocations: 267.8 kB / 0.7139 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004202/0.8744, allocations: 372.2 kB / 0.7143 GB, free: 157 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001898/0.8746, allocations: 156 kB / 0.7145 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002238/0.8769, allocations: 2.576 MB / 0.717 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.8769, allocations: 6.344 kB / 0.717 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004322/0.8812, allocations: 1.918 MB / 0.7188 GB, free: 152.4 MB / 0.5261 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.000499/0.8817, allocations: 307.7 kB / 0.7191 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008232/0.8899, allocations: 8.368 MB / 0.7273 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.8899, allocations: 0 / 0.7273 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003355/0.8933, allocations: 3.885 MB / 0.7311 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/0.896, allocations: 1.013 MB / 0.7321 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01894/0.915, allocations: 19.11 MB / 0.7508 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003487/0.9185, allocations: 6.371 MB / 0.757 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/0.92, allocations: 496.4 kB / 0.7575 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.273e-06/0.92, allocations: 0 / 0.7575 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.2848/1.205, allocations: 186.1 MB / 0.9392 GB, free: 157.4 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.778446237556636]