Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000991/0.000991, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001438/0.002429, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006268/0.0006268, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000919/0.001546, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8568/0.8568, allocations: 173.4 MB / 185.9 MB, free: 8.93 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06767/0.9244, allocations: 52.49 MB / 238.4 MB, free: 4.375 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 239.7 MB, free: 3.082 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.606e-06/1.006e-05, allocations: 3.438 kB / 239.7 MB, free: 3.078 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.005643/0.005653, allocations: 7.954 MB / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003315/0.008968, allocations: 2.683 MB / 250.4 MB, free: 8.391 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003848/0.009353, allocations: 31.88 kB / 250.4 MB, free: 8.359 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008091/0.01016, allocations: 0.5323 MB / 250.9 MB, free: 7.824 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005904/0.01075, allocations: 0.5116 MB / 251.4 MB, free: 7.309 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.01103, allocations: 255.6 kB / 251.7 MB, free: 7.059 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008627/0.01189, allocations: 1.54 MB / 253.2 MB, free: 5.512 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003594/0.01225, allocations: 383.2 kB / 253.6 MB, free: 5.105 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007001/0.01295, allocations: 0.9811 MB / 254.6 MB, free: 4.125 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000379/0.01333, allocations: 482.5 kB / 255.1 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.01343, allocations: 136 kB / 255.2 MB, free: 3.52 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.01365, allocations: 176 kB / 255.4 MB, free: 3.348 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.01376, allocations: 215.2 kB / 255.6 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002485/0.01401, allocations: 391.3 kB / 256 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008856/0.01489, allocations: 0.8795 MB / 256.8 MB, free: 1.871 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.0149, allocations: 0 / 256.8 MB, free: 1.871 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.0149, allocations: 0 / 256.8 MB, free: 1.871 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.01492, allocations: 0 / 256.8 MB, free: 1.871 MB / 250.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.001271/0.01619, allocations: 1.609 MB / 258.4 MB, free: 236 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.331e-05/0.01621, allocations: 8.031 kB / 258.5 MB, free: 228 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003972/0.01661, allocations: 317.8 kB / 258.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005465/0.01715, allocations: 0.5331 MB / 259.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/0.01719, allocations: 74 kB / 259.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.909e-05/0.01727, allocations: 100 kB / 259.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005659/0.01784, allocations: 0.7691 MB / 260.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.01786, allocations: 11.94 kB / 260.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.0179, allocations: 40 kB / 260.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.01791, allocations: 24 kB / 260.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.01818, allocations: 241.8 kB / 260.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/0.02038, allocations: 2.954 MB / 263.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000456/0.02084, allocations: 226.3 kB / 263.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.02103, allocations: 168 kB / 263.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.02105, allocations: 12.33 kB / 263.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.02107, allocations: 34.83 kB / 263.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.364e-06/0.02108, allocations: 3.984 kB / 263.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.000907/0.02198, allocations: 0.7699 MB / 264.7 MB, free: 9.629 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/0.022, allocations: 59.41 kB / 264.8 MB, free: 9.559 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/0.02242, allocations: 0.6612 MB / 265.4 MB, free: 8.887 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.02244, allocations: 33.7 kB / 265.5 MB, free: 8.848 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.02261, allocations: 0.4888 MB / 265.9 MB, free: 8.348 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.903e-05/0.02268, allocations: 166.6 kB / 266.1 MB, free: 8.184 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.81e-05/0.02278, allocations: 134.5 kB / 266.2 MB, free: 8.043 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.02287, allocations: 390.6 kB / 266.6 MB, free: 7.652 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.147e-05/0.02293, allocations: 57.97 kB / 266.7 MB, free: 7.598 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.02312, allocations: 381.7 kB / 267.1 MB, free: 7.086 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.02344, allocations: 0.5255 MB / 267.6 MB, free: 6.426 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.02344, allocations: 4 kB / 267.6 MB, free: 6.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0004093/0.02385, allocations: 490 kB / 268.1 MB, free: 5.934 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.02387, allocations: 12 kB / 268.1 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.02387, allocations: 8 kB / 268.1 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001342/0.02401, allocations: 77.84 kB / 268.2 MB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.02427, allocations: 167.8 kB / 268.3 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.02553, allocations: 2.6 MB / 270.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.02574, allocations: 35.94 kB / 271 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.02576, allocations: 31.94 kB / 271 MB, free: 2.828 MB / 266.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.0001303/0.02589, allocations: 165.5 kB / 271.1 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/0.02595, allocations: 67.92 kB / 271.2 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.02623, allocations: 290.9 kB / 271.5 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.02623, allocations: 4 kB / 271.5 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.02623, allocations: 0 / 271.5 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.02623, allocations: 0 / 271.5 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006975/0.02693, allocations: 0.7599 MB / 272.3 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.02693, allocations: 8 kB / 272.3 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.02709, allocations: 84.11 kB / 272.4 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.02719, allocations: 67.48 kB / 272.4 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/0.0273, allocations: 57.67 kB / 272.5 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.02731, allocations: 8 kB / 272.5 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009714/0.02828, allocations: 2.596 MB / 275.1 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.02828, allocations: 16.08 kB / 275.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.02864, allocations: 481.7 kB / 275.6 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.02869, allocations: 12 kB / 275.6 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.02885, allocations: 19.98 kB / 275.6 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.02889, allocations: 43.88 kB / 275.6 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.0289, allocations: 8 kB / 275.6 MB, free: 13.86 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002198/0.02912, allocations: 319.3 kB / 276 MB, free: 13.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02912, allocations: 0 / 276 MB, free: 13.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003964/0.02952, allocations: 200 kB / 276.2 MB, free: 13.36 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.0001216/0.02964, allocations: 104.4 kB / 276.3 MB, free: 13.24 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004085/0.03005, allocations: 0.5222 MB / 276.8 MB, free: 12.7 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.987e-05/0.03007, allocations: 16.44 kB / 276.8 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.03033, allocations: 407.2 kB / 277.2 MB, free: 12.26 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.03149, allocations: 2.048 MB / 279.2 MB, free: 9.805 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008506/0.04, allocations: 1.723 MB / 281 MB, free: 8.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.0401, allocations: 183.3 kB / 281.1 MB, free: 7.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.0403, allocations: 98.69 kB / 281.2 MB, free: 7.719 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.04058, allocations: 233.2 kB / 281.5 MB, free: 7.488 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.04058, allocations: 3.938 kB / 281.5 MB, free: 7.484 MB / 282.7 MB Notification: Performance of Templates: time 0.09252/0.1331, allocations: 11.08 MB / 292.6 MB, free: 30.85 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.576246959157288]