Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.001112/0.001112, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001619/0.002731, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001079/0.001079, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001434/0.002513, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9332/0.9332, allocations: 177.5 MB / 190 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08731/1.021, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.7 MB " [Timeout remaining time 179] 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.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.215e-06/2.215e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.431e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.00731/0.007335, allocations: 7.969 MB / 253.2 MB, free: 5.574 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004243/0.01158, allocations: 2.781 MB / 256 MB, free: 2.785 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005625/0.01214, allocations: 27.88 kB / 256 MB, free: 2.758 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.01319, allocations: 0.5518 MB / 256.5 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008551/0.01404, allocations: 0.5194 MB / 257.1 MB, free: 1.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.01439, allocations: 243.7 kB / 257.3 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001228/0.01562, allocations: 1.54 MB / 258.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004531/0.01607, allocations: 383.1 kB / 259.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.01728, allocations: 0.9927 MB / 260.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005296/0.01781, allocations: 474.6 kB / 260.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.01795, allocations: 136 kB / 260.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.01826, allocations: 176 kB / 261 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.01839, allocations: 215.2 kB / 261.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003106/0.0187, allocations: 387.3 kB / 261.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008192/0.01952, allocations: 0.8872 MB / 262.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.01953, allocations: 0 / 262.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01954, allocations: 0 / 262.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.274e-05/0.01956, allocations: 8 kB / 262.5 MB, free: 12.24 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001533/0.02109, allocations: 1.601 MB / 264.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.02112, allocations: 12.03 kB / 264.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004927/0.02162, allocations: 309.8 kB / 264.4 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006406/0.02226, allocations: 0.5293 MB / 264.9 MB, free: 9.719 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.02229, allocations: 74 kB / 265 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.02244, allocations: 104 kB / 265.1 MB, free: 9.543 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008866/0.02333, allocations: 0.7654 MB / 265.8 MB, free: 8.727 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.02336, allocations: 11.89 kB / 265.8 MB, free: 8.715 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.602e-05/0.02341, allocations: 36 kB / 265.9 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.02342, allocations: 32 kB / 265.9 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.02373, allocations: 241.8 kB / 266.2 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003003/0.02674, allocations: 2.962 MB / 269.1 MB, free: 5.254 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.02703, allocations: 223.5 kB / 269.3 MB, free: 5.027 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.02725, allocations: 174 kB / 269.5 MB, free: 4.855 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.02728, allocations: 4.328 kB / 269.5 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.0273, allocations: 42.83 kB / 269.5 MB, free: 4.801 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.214e-06/0.02731, allocations: 0 / 269.5 MB, free: 4.801 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001238/0.02854, allocations: 0.747 MB / 270.3 MB, free: 4.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.02858, allocations: 63.39 kB / 270.4 MB, free: 3.945 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004515/0.02903, allocations: 0.6574 MB / 271 MB, free: 3.277 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.02905, allocations: 29.7 kB / 271 MB, free: 3.242 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.02926, allocations: 0.5043 MB / 271.5 MB, free: 2.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.689e-05/0.02934, allocations: 166.6 kB / 271.7 MB, free: 2.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.02944, allocations: 134.5 kB / 271.8 MB, free: 2.426 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.02955, allocations: 394.6 kB / 272.2 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.716e-05/0.02962, allocations: 57.97 kB / 272.3 MB, free: 1.977 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.02983, allocations: 393.7 kB / 272.7 MB, free: 1.449 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.03019, allocations: 0.5099 MB / 273.2 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.0302, allocations: 4 kB / 273.2 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005019/0.0307, allocations: 493.5 kB / 273.7 MB, free: 316 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.03072, allocations: 8.656 kB / 273.7 MB, free: 308 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.03073, allocations: 16 kB / 273.7 MB, free: 292 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000154/0.03088, allocations: 69.61 kB / 273.8 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.03116, allocations: 171.7 kB / 273.9 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.03254, allocations: 2.601 MB / 276.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.03283, allocations: 39.97 kB / 276.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.03285, allocations: 28 kB / 276.6 MB, free: 13.2 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001604/0.03301, allocations: 161.5 kB / 276.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/0.03308, allocations: 55.94 kB / 276.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/0.03338, allocations: 290.6 kB / 277.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.03339, allocations: 8 kB / 277.1 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.03339, allocations: 3.938 kB / 277.1 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.0334, allocations: 3.984 kB / 277.1 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009382/0.03433, allocations: 0.7676 MB / 277.9 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.03434, allocations: 0 / 277.9 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.03451, allocations: 79.91 kB / 277.9 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.03463, allocations: 71.47 kB / 278 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001374/0.03477, allocations: 65.88 kB / 278.1 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.03479, allocations: 12 kB / 278.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/0.03603, allocations: 2.589 MB / 280.7 MB, free: 8.848 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.03603, allocations: 7.938 kB / 280.7 MB, free: 8.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.03643, allocations: 482.4 kB / 281.2 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/0.03648, allocations: 12 kB / 281.2 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.03665, allocations: 28.02 kB / 281.2 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.0367, allocations: 39.86 kB / 281.2 MB, free: 8.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.03672, allocations: 12 kB / 281.3 MB, free: 8.238 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005673/0.03729, allocations: 315.3 kB / 281.6 MB, free: 7.934 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03729, allocations: 0 / 281.6 MB, free: 7.934 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005748/0.03786, allocations: 200 kB / 281.8 MB, free: 7.738 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001662/0.03803, allocations: 108.3 kB / 281.9 MB, free: 7.625 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005033/0.03853, allocations: 0.5361 MB / 282.4 MB, free: 7.066 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.533e-05/0.03855, allocations: 16.48 kB / 282.4 MB, free: 7.051 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.03885, allocations: 391.2 kB / 282.8 MB, free: 6.641 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.0399, allocations: 2.06 MB / 284.9 MB, free: 4.172 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008924/0.04882, allocations: 1.73 MB / 286.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.04896, allocations: 179.3 kB / 286.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003069/0.04926, allocations: 98.67 kB / 286.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/0.04957, allocations: 229.2 kB / 287.1 MB, free: 1.855 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.04957, allocations: 0 / 287.1 MB, free: 1.855 MB / 282.7 MB Notification: Performance of Templates: time 0.1104/0.1599, allocations: 11.11 MB / 298.2 MB, free: 27.16 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8361268509179354]