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.IMC_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.001808/0.001808, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001912/0.001912, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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 1.547/1.547, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.218e-06/4.218e-06, allocations: 3.984 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/3.006e-05, allocations: 2.312 kB / 272.4 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1576/0.1576, allocations: 24.18 MB / 296.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0226/0.1802, allocations: 7.367 MB / 303.9 MB, free: 13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008175/0.1884, allocations: 222.1 kB / 304.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02173/0.2101, allocations: 9.386 MB / 313.5 MB, free: 7.328 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01007/0.2202, allocations: 3.043 MB / 316.5 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004847/0.225, allocations: 1.751 MB / 318.3 MB, free: 3.547 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01562/0.2406, allocations: 11.28 MB / 329.6 MB, free: 9.844 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03093/0.2716, allocations: 14.23 MB / 343.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01991/0.2915, allocations: 8.69 MB / 352.5 MB, free: 2.766 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01358/0.305, allocations: 6.028 MB / 358.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00485/0.3099, allocations: 1.668 MB / 360.2 MB, free: 11.06 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007665/0.3176, allocations: 2.065 MB / 362.3 MB, free: 8.992 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005595/0.3232, allocations: 3.269 MB / 365.5 MB, free: 5.715 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01092/0.3341, allocations: 4.129 MB / 369.7 MB, free: 1.578 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03404/0.3681, allocations: 22.85 MB / 392.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3681, allocations: 0 / 392.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3681, allocations: 0 / 392.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006436/0.3688, allocations: 0 / 392.5 MB, free: 10.66 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.04655/0.4153, allocations: 14.82 MB / 407.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.4154, allocations: 8.031 kB / 407.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03984/0.4552, allocations: 7.76 MB / 415.1 MB, free: 3.957 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01823/0.4734, allocations: 6.721 MB / 421.8 MB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009044/0.4743, allocations: 0.7024 MB / 422.5 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004004/0.4783, allocations: 0.9256 MB / 423.4 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2995/0.7778, allocations: 16.23 MB / 439.7 MB, free: 101.6 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002956/0.7781, allocations: 13.45 kB / 439.7 MB, free: 101.6 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002339/0.7805, allocations: 388.3 kB / 440.1 MB, free: 101.6 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007307/0.7812, allocations: 0.554 MB / 440.6 MB, free: 101.6 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02909/0.8103, allocations: 13.12 MB / 453.7 MB, free: 96.96 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09931/0.9096, allocations: 103.3 MB / 0.544 GB, free: 12.77 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01989/0.9295, allocations: 8.673 MB / 0.5525 GB, free: 5.176 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004847/0.9343, allocations: 2.483 MB / 0.5549 GB, free: 2.695 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003927/0.9347, allocations: 127 kB / 0.555 GB, free: 2.57 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.105e-05/0.9348, allocations: 76.52 kB / 0.5551 GB, free: 2.484 MB / 394.8 MB Notification: Performance of pre-optimization done (n=398): time 6.592e-06/0.9348, allocations: 0 / 0.5551 GB, free: 2.484 MB / 394.8 MB Notification: Performance of matching and sorting (n=404): time 0.03901/0.9738, allocations: 15.02 MB / 0.5697 GB, free: 3.816 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.384e-05/0.9739, allocations: 94.58 kB / 0.5698 GB, free: 3.711 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1581/1.132, allocations: 5.389 MB / 0.5751 GB, free: 114.3 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006784/1.133, allocations: 90.67 kB / 0.5752 GB, free: 114.3 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002974/1.136, allocations: 4.649 MB / 0.5797 GB, free: 113 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00169/1.137, allocations: 1.59 MB / 0.5813 GB, free: 112.1 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002332/1.14, allocations: 1.537 MB / 0.5828 GB, free: 112 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.577e-05/1.14, allocations: 480.9 kB / 0.5832 GB, free: 111.5 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003817/1.144, allocations: 2.254 MB / 0.5854 GB, free: 111.5 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005227/1.149, allocations: 5.742 MB / 0.591 GB, free: 107.6 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00858/1.157, allocations: 8.914 MB / 0.5998 GB, free: 103.5 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.735e-05/1.157, allocations: 22.09 kB / 0.5998 GB, free: 103.5 MB / 410.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01263/1.17, allocations: 8.319 MB / 0.6079 GB, free: 100.9 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.114e-05/1.17, allocations: 33.47 kB / 0.6079 GB, free: 100.9 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001193/1.17, allocations: 70 kB / 0.608 GB, free: 100.9 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003887/1.174, allocations: 1.395 MB / 0.6094 GB, free: 100.7 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004297/1.178, allocations: 1.317 MB / 0.6106 GB, free: 100.5 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/1.191, allocations: 10.14 MB / 0.6205 GB, free: 94.81 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004064/1.195, allocations: 318.1 kB / 0.6209 GB, free: 94.7 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004187/1.196, allocations: 297.3 kB / 0.6211 GB, free: 94.65 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004411/1.2, allocations: 3.41 MB / 0.6245 GB, free: 92.8 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009546/1.201, allocations: 0.5165 MB / 0.625 GB, free: 92.54 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009272/1.21, allocations: 5.669 MB / 0.6305 GB, free: 90.38 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006746/1.217, allocations: 4.677 MB / 0.6351 GB, free: 87 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/1.217, allocations: 16 kB / 0.6351 GB, free: 86.98 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-05/1.217, allocations: 19.92 kB / 0.6351 GB, free: 86.96 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02461/1.242, allocations: 17.47 MB / 0.6522 GB, free: 69.27 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/1.242, allocations: 4 kB / 0.6522 GB, free: 69.26 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002602/1.244, allocations: 0.7261 MB / 0.6529 GB, free: 68.54 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003377/1.248, allocations: 1.262 MB / 0.6541 GB, free: 67.27 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002573/1.248, allocations: 103 kB / 0.6542 GB, free: 67.17 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/1.259, allocations: 9.099 MB / 0.6631 GB, free: 57.96 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.259, allocations: 7.938 kB / 0.6631 GB, free: 57.96 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/1.27, allocations: 8.241 MB / 0.6711 GB, free: 49.57 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002378/1.273, allocations: 0.8173 MB / 0.6719 GB, free: 48.75 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005231/1.273, allocations: 79.98 kB / 0.672 GB, free: 48.68 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/1.275, allocations: 198.7 kB / 0.6722 GB, free: 48.48 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005842/1.276, allocations: 303.1 kB / 0.6725 GB, free: 48.19 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002243/1.276, allocations: 128 kB / 0.6726 GB, free: 48.06 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003279/1.279, allocations: 2.658 MB / 0.6752 GB, free: 45.41 MB / 410.8 MB Notification: Performance of sort global known variables: time 8.1e-08/1.279, allocations: 4 kB / 0.6752 GB, free: 45.41 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.005152/1.284, allocations: 1.598 MB / 0.6768 GB, free: 43.81 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.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 (389): * Single equations (assignments): 387 * 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,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005476/1.285, allocations: 282.3 kB / 0.6771 GB, free: 43.53 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.009404/1.294, allocations: 6.593 MB / 0.6835 GB, free: 36.9 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/1.294, allocations: 0 / 0.6835 GB, free: 36.9 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004539/1.299, allocations: 3.105 MB / 0.6865 GB, free: 33.78 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003961/1.303, allocations: 0.9093 MB / 0.6874 GB, free: 32.92 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02068/1.323, allocations: 15.54 MB / 0.7026 GB, free: 17.2 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004144/1.327, allocations: 5.229 MB / 0.7077 GB, free: 11.91 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003865/1.331, allocations: 1.613 MB / 0.7093 GB, free: 10.29 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008871/1.332, allocations: 356.4 kB / 0.7096 GB, free: 9.945 MB / 410.8 MB Notification: Performance of SimCode: time 1.373e-06/1.332, allocations: 0 / 0.7096 GB, free: 9.945 MB / 410.8 MB Notification: Performance of Templates: time 0.2414/1.574, allocations: 60.35 MB / 0.7685 GB, free: 98.25 MB / 426.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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: 7.996648739906959]