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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002574/0.002574, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002503/0.002503, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.762/1.762, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.375e-05, allocations: 2.312 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1377/0.1378, allocations: 26.29 MB / 298.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01504/0.1528, allocations: 8.065 MB / 306.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005383/0.1582, allocations: 236.6 kB / 306.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02029/0.1785, allocations: 9.99 MB / 316.8 MB, free: 4.711 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.189, allocations: 3.457 MB / 320.3 MB, free: 1.977 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004867/0.1938, allocations: 1.843 MB / 322.1 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01862/0.2125, allocations: 12.76 MB / 334.9 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03318/0.2456, allocations: 15.91 MB / 350.8 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01993/0.2656, allocations: 9.794 MB / 360.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01357/0.2791, allocations: 6.94 MB / 367.5 MB, free: 3.508 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004778/0.2839, allocations: 1.832 MB / 369.4 MB, free: 1.676 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007181/0.2911, allocations: 2.233 MB / 371.6 MB, free: 15.44 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005973/0.2971, allocations: 3.733 MB / 375.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01068/0.3078, allocations: 4.694 MB / 380 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03499/0.3427, allocations: 25.27 MB / 405.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3428, allocations: 0 / 405.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3428, allocations: 0 / 405.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005572/0.3433, allocations: 0 / 405.3 MB, free: 13.66 MB / 362.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.04842/0.3917, allocations: 16.78 MB / 422.1 MB, free: 12.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.3918, allocations: 11.98 kB / 422.1 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05446/0.4462, allocations: 10.37 MB / 432.4 MB, free: 2.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.223/0.6692, allocations: 7.422 MB / 439.9 MB, free: 102.1 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007256/0.6699, allocations: 0.8108 MB / 440.7 MB, free: 102.1 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003739/0.6737, allocations: 1.057 MB / 441.7 MB, free: 102.1 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03727/0.7109, allocations: 18.74 MB / 460.5 MB, free: 94.31 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002707/0.7112, allocations: 8.406 kB / 460.5 MB, free: 94.31 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001413/0.7126, allocations: 448.6 kB / 460.9 MB, free: 93.98 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004793/0.7131, allocations: 0.6686 MB / 461.6 MB, free: 93.9 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02474/0.7379, allocations: 15.51 MB / 477.1 MB, free: 79.47 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1211/0.8589, allocations: 105.8 MB / 0.5693 GB, free: 1.469 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02668/0.8856, allocations: 11.94 MB / 0.5809 GB, free: 7.527 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007047/0.8926, allocations: 3.168 MB / 0.584 GB, free: 4.332 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006699/0.8933, allocations: 163.9 kB / 0.5842 GB, free: 4.168 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/0.8934, allocations: 85.45 kB / 0.5842 GB, free: 4.07 MB / 426.8 MB Notification: Performance of pre-optimization done (n=518): time 8.245e-06/0.8934, allocations: 0 / 0.5842 GB, free: 4.07 MB / 426.8 MB Notification: Performance of matching and sorting (n=524): time 0.182/1.075, allocations: 18.53 MB / 0.6023 GB, free: 123.2 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/1.075, allocations: 106.4 kB / 0.6024 GB, free: 123.1 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006764/1.082, allocations: 5.762 MB / 0.6081 GB, free: 122.7 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005685/1.083, allocations: 105.6 kB / 0.6082 GB, free: 122.7 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002678/1.085, allocations: 5.234 MB / 0.6133 GB, free: 120.5 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001598/1.087, allocations: 2.041 MB / 0.6153 GB, free: 119.3 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002163/1.089, allocations: 1.783 MB / 0.617 GB, free: 119.2 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 5.18e-05/1.089, allocations: 480.7 kB / 0.6175 GB, free: 118.7 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003603/1.093, allocations: 2.753 MB / 0.6202 GB, free: 118.7 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005078/1.098, allocations: 6.673 MB / 0.6267 GB, free: 113.2 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/1.108, allocations: 10.72 MB / 0.6372 GB, free: 105.7 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/1.109, allocations: 23 kB / 0.6372 GB, free: 105.7 MB / 426.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01671/1.125, allocations: 9.926 MB / 0.6469 GB, free: 101.9 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.089e-05/1.125, allocations: 39.91 kB / 0.6469 GB, free: 101.9 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001498/1.125, allocations: 79.62 kB / 0.647 GB, free: 101.9 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00446/1.13, allocations: 1.622 MB / 0.6486 GB, free: 101.4 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005787/1.136, allocations: 1.62 MB / 0.6502 GB, free: 100.8 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/1.15, allocations: 11.59 MB / 0.6615 GB, free: 89.13 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004794/1.155, allocations: 400 kB / 0.6619 GB, free: 88.74 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006945/1.155, allocations: 343.9 kB / 0.6622 GB, free: 88.4 MB / 426.8 MB 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.005559/1.161, allocations: 3.801 MB / 0.6659 GB, free: 84.59 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001421/1.162, allocations: 0.6298 MB / 0.6665 GB, free: 83.95 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/1.174, allocations: 7.135 MB / 0.6735 GB, free: 76.72 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008481/1.182, allocations: 5.892 MB / 0.6792 GB, free: 70.74 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/1.182, allocations: 19.52 kB / 0.6792 GB, free: 70.73 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.371e-05/1.182, allocations: 27.89 kB / 0.6793 GB, free: 70.7 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03206/1.214, allocations: 20.47 MB / 0.6993 GB, free: 50.02 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/1.214, allocations: 4 kB / 0.6993 GB, free: 50.02 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003482/1.218, allocations: 0.94 MB / 0.7002 GB, free: 49.07 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003967/1.222, allocations: 1.459 MB / 0.7016 GB, free: 47.61 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000552/1.222, allocations: 116 kB / 0.7017 GB, free: 47.5 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01197/1.234, allocations: 10.35 MB / 0.7118 GB, free: 37.04 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.234, allocations: 4 kB / 0.7118 GB, free: 37.04 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/1.249, allocations: 10.06 MB / 0.7217 GB, free: 26.76 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003382/1.252, allocations: 1.004 MB / 0.7226 GB, free: 25.75 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009618/1.253, allocations: 92 kB / 0.7227 GB, free: 25.66 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002692/1.256, allocations: 263.8 kB / 0.723 GB, free: 25.41 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008194/1.257, allocations: 372.2 kB / 0.7233 GB, free: 25.04 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003122/1.257, allocations: 160 kB / 0.7235 GB, free: 24.88 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003829/1.261, allocations: 2.93 MB / 0.7263 GB, free: 21.97 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.71e-07/1.261, allocations: 0 / 0.7263 GB, free: 21.97 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.007228/1.268, allocations: 1.914 MB / 0.7282 GB, free: 20.05 MB / 426.8 MB 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.0008744/1.269, allocations: 315 kB / 0.7285 GB, free: 19.75 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0117/1.281, allocations: 7.917 MB / 0.7363 GB, free: 11.76 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.281, allocations: 3.938 kB / 0.7363 GB, free: 11.75 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.138/1.419, allocations: 3.737 MB / 0.7399 GB, free: 112.4 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005338/1.424, allocations: 1.052 MB / 0.7409 GB, free: 112.3 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02929/1.453, allocations: 18.02 MB / 0.7585 GB, free: 106.5 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005814/1.459, allocations: 5.985 MB / 0.7644 GB, free: 106 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.004877/1.464, allocations: 1.932 MB / 0.7663 GB, free: 105.8 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/1.465, allocations: 439.5 kB / 0.7667 GB, free: 105.8 MB / 426.8 MB Notification: Performance of SimCode: time 1.512e-06/1.465, allocations: 4 kB / 0.7667 GB, free: 105.8 MB / 426.8 MB Notification: Performance of Templates: time 0.1038/1.569, allocations: 71.61 MB / 0.8366 GB, free: 53.49 MB / 426.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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: 8.711531976936385]