Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001042/0.001042, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001039/0.001039, allocations: 159.3 kB / 25.75 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8862/0.8862, allocations: 158.6 MB / 187.5 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 251.2 MB, free: 7.766 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.372e-05/3.578e-05, allocations: 6.25 kB / 251.2 MB, free: 7.758 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02373/0.02376, allocations: 26.36 MB / 277.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0173/0.04106, allocations: 7.923 MB / 285.4 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007207/0.04827, allocations: 195 kB / 285.6 MB, free: 5.137 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01443/0.0627, allocations: 9.995 MB / 295.6 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01128/0.07398, allocations: 3.504 MB / 299.1 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006196/0.08017, allocations: 1.851 MB / 301 MB, free: 5.723 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01693/0.0971, allocations: 12.81 MB / 313.8 MB, free: 8.871 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0268/0.1239, allocations: 15.93 MB / 329.7 MB, free: 8.746 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02093/0.1448, allocations: 9.903 MB / 339.6 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01244/0.1573, allocations: 7.049 MB / 346.7 MB, free: 7.762 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006098/0.1634, allocations: 1.844 MB / 348.5 MB, free: 5.918 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007587/0.171, allocations: 2.222 MB / 350.7 MB, free: 3.695 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1597/0.3307, allocations: 3.798 MB / 354.5 MB, free: 45.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01193/0.3426, allocations: 4.746 MB / 359.3 MB, free: 45.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01857/0.3612, allocations: 11.89 MB / 371.2 MB, free: 44.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3612, allocations: 0 / 371.2 MB, free: 44.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3612, allocations: 1.438 kB / 371.2 MB, free: 44.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0007022/0.3619, allocations: 0 / 371.2 MB, free: 44.32 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.03287/0.3948, allocations: 15.72 MB / 386.9 MB, free: 38.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.3948, allocations: 11.58 kB / 386.9 MB, free: 38.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03665/0.4315, allocations: 11.6 MB / 398.5 MB, free: 35.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01192/0.4434, allocations: 6.489 MB / 405 MB, free: 29.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006099/0.444, allocations: 0.8184 MB / 405.8 MB, free: 29.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004074/0.4481, allocations: 1.082 MB / 406.9 MB, free: 28.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03636/0.4844, allocations: 9.907 MB / 416.8 MB, free: 18.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004887/0.4849, allocations: 15.09 kB / 416.8 MB, free: 18.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003306/0.4882, allocations: 458.5 kB / 417.3 MB, free: 17.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005843/0.4888, allocations: 0.7066 MB / 418 MB, free: 16.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02692/0.5157, allocations: 5.853 MB / 423.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07848/0.5942, allocations: 46.68 MB / 470.5 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01662/0.6108, allocations: 13.27 MB / 483.8 MB, free: 1.758 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003679/0.6145, allocations: 1.791 MB / 485.6 MB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01234/0.6269, allocations: 7.48 MB / 493 MB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/0.6269, allocations: 80.39 kB / 493.1 MB, free: 8.547 MB / 394.7 MB Notification: Performance of pre-optimization done (n=385): time 5.159e-06/0.6269, allocations: 0 / 493.1 MB, free: 8.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=391): time 0.1461/0.773, allocations: 11.66 MB / 0.4929 GB, free: 133.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.773, allocations: 93.53 kB / 0.493 GB, free: 133.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005109/0.7781, allocations: 3.96 MB / 0.4969 GB, free: 132.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005603/0.7787, allocations: 92.17 kB / 0.497 GB, free: 132.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002412/0.7811, allocations: 5.264 MB / 0.5021 GB, free: 129.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001238/0.7823, allocations: 1.443 MB / 0.5035 GB, free: 128.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001518/0.7839, allocations: 1.4 MB / 0.5049 GB, free: 128.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.018e-05/0.7839, allocations: 479.2 kB / 0.5054 GB, free: 128.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.7856, allocations: 0.986 MB / 0.5063 GB, free: 128.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002843/0.7884, allocations: 4.918 MB / 0.5111 GB, free: 123.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005147/0.7936, allocations: 6.53 MB / 0.5175 GB, free: 118.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.14e-05/0.7937, allocations: 23.5 kB / 0.5175 GB, free: 118.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.008671/0.8023, allocations: 6.047 MB / 0.5234 GB, free: 117.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.627e-05/0.8024, allocations: 42.28 kB / 0.5235 GB, free: 117.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/0.8025, allocations: 89 kB / 0.5236 GB, free: 117.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002649/0.8051, allocations: 1.304 MB / 0.5248 GB, free: 117.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003371/0.8085, allocations: 1.461 MB / 0.5263 GB, free: 117.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007648/0.8162, allocations: 6.767 MB / 0.5329 GB, free: 114.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004532/0.8207, allocations: 391.8 kB / 0.5332 GB, free: 114.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009561/0.8216, allocations: 332.1 kB / 0.5336 GB, free: 113.8 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003381/0.825, allocations: 0.5919 MB / 0.5341 GB, free: 113.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00115/0.8262, allocations: 0.5613 MB / 0.5347 GB, free: 112.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005846/0.832, allocations: 4.034 MB / 0.5386 GB, free: 110.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003816/0.8358, allocations: 2.831 MB / 0.5414 GB, free: 108.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.8359, allocations: 19.78 kB / 0.5414 GB, free: 108.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/0.8359, allocations: 22.86 kB / 0.5414 GB, free: 108.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01796/0.8538, allocations: 11.39 MB / 0.5526 GB, free: 98.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.8538, allocations: 0 / 0.5526 GB, free: 98.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001601/0.8554, allocations: 0.7197 MB / 0.5533 GB, free: 98.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002301/0.8577, allocations: 1.163 MB / 0.5544 GB, free: 97.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002314/0.858, allocations: 83.94 kB / 0.5545 GB, free: 97.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006775/0.8648, allocations: 6.182 MB / 0.5605 GB, free: 91.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8648, allocations: 7.938 kB / 0.5605 GB, free: 91.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007114/0.8719, allocations: 4.708 MB / 0.5651 GB, free: 86.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00175/0.8736, allocations: 0.8871 MB / 0.566 GB, free: 85.69 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005115/0.8741, allocations: 75.94 kB / 0.5661 GB, free: 85.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.8753, allocations: 239.7 kB / 0.5663 GB, free: 85.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000511/0.8758, allocations: 287.4 kB / 0.5666 GB, free: 85.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001645/0.8759, allocations: 120 kB / 0.5667 GB, free: 84.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002095/0.878, allocations: 1.747 MB / 0.5684 GB, free: 83.26 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.878, allocations: 0 / 0.5684 GB, free: 83.26 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0051/0.8831, allocations: 1.82 MB / 0.5702 GB, free: 81.44 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (360): * Single equations (assignments): 358 * 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.0005603/0.8837, allocations: 254.8 kB / 0.5704 GB, free: 81.19 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006524/0.8902, allocations: 4.516 MB / 0.5748 GB, free: 76.65 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.8902, allocations: 0 / 0.5748 GB, free: 76.65 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003045/0.8933, allocations: 2.206 MB / 0.577 GB, free: 74.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/0.8967, allocations: 0.9993 MB / 0.5779 GB, free: 73.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02306/0.9198, allocations: 15.91 MB / 0.5935 GB, free: 57.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003023/0.9228, allocations: 2.97 MB / 0.5964 GB, free: 54.42 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003685/0.9265, allocations: 1.89 MB / 0.5982 GB, free: 52.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008606/0.9273, allocations: 356.4 kB / 0.5986 GB, free: 52.17 MB / 394.7 MB Notification: Performance of SimCode: time 2.525e-06/0.9273, allocations: 0 / 0.5986 GB, free: 52.17 MB / 394.7 MB Notification: Performance of Templates: time 0.1912/1.119, allocations: 63.59 MB / 0.6607 GB, free: 139.6 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.938600938068703]