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.0007309/0.0007309, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001768, allocations: 449.7 kB / 10.37 MB, free: 324 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.0006837/0.0006837, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000884/0.001568, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9407/0.9407, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07797/1.019, allocations: 53.86 MB / 243.8 MB, free: 14.91 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 1.553e-06/1.553e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.62e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01377/0.01379, allocations: 7.973 MB / 253 MB, free: 5.629 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004905/0.01869, allocations: 2.781 MB / 255.8 MB, free: 2.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000469/0.01916, allocations: 27.88 kB / 255.8 MB, free: 2.812 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.02017, allocations: 0.544 MB / 256.3 MB, free: 2.266 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007362/0.0209, allocations: 0.5155 MB / 256.9 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.02126, allocations: 251.7 kB / 257.1 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.02246, allocations: 1.533 MB / 258.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004177/0.02288, allocations: 391.1 kB / 259 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008744/0.02376, allocations: 0.9811 MB / 260 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004959/0.02425, allocations: 482.6 kB / 260.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.02436, allocations: 136 kB / 260.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.02469, allocations: 176 kB / 260.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.02484, allocations: 215.2 kB / 261 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002948/0.02513, allocations: 391.2 kB / 261.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007787/0.02591, allocations: 0.8795 MB / 262.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-05/0.02593, allocations: 0 / 262.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.02593, allocations: 0 / 262.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.02595, allocations: 4 kB / 262.3 MB, free: 12.31 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.001418/0.02737, allocations: 1.601 MB / 263.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.0274, allocations: 16.03 kB / 263.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003907/0.02779, allocations: 321.7 kB / 264.2 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005927/0.02838, allocations: 0.5293 MB / 264.7 MB, free: 9.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.02842, allocations: 74 kB / 264.8 MB, free: 9.695 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.74e-05/0.0285, allocations: 99.98 kB / 264.9 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000598/0.0291, allocations: 0.7654 MB / 265.7 MB, free: 8.781 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.02912, allocations: 7.891 kB / 265.7 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.02916, allocations: 40 kB / 265.7 MB, free: 8.734 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.02917, allocations: 24 kB / 265.7 MB, free: 8.711 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.02944, allocations: 241.8 kB / 266 MB, free: 8.473 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.03182, allocations: 2.962 MB / 268.9 MB, free: 5.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.03207, allocations: 227.5 kB / 269.1 MB, free: 5.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.03228, allocations: 170 kB / 269.3 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.0323, allocations: 4.328 kB / 269.3 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.03232, allocations: 42.83 kB / 269.4 MB, free: 4.867 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.703e-06/0.03233, allocations: 0 / 269.4 MB, free: 4.867 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009959/0.03332, allocations: 0.7392 MB / 270.1 MB, free: 4.094 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.03335, allocations: 59.39 kB / 270.2 MB, free: 4.023 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000445/0.03379, allocations: 0.6613 MB / 270.8 MB, free: 3.352 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.03381, allocations: 33.64 kB / 270.8 MB, free: 3.312 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.03401, allocations: 0.5004 MB / 271.3 MB, free: 2.805 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.313e-05/0.03408, allocations: 170.6 kB / 271.5 MB, free: 2.637 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.03418, allocations: 130.5 kB / 271.6 MB, free: 2.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.03429, allocations: 394.6 kB / 272 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.537e-05/0.03435, allocations: 61.97 kB / 272.1 MB, free: 2.047 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.03456, allocations: 389.7 kB / 272.5 MB, free: 1.523 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.03487, allocations: 492.2 kB / 272.9 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.03487, allocations: 11.94 kB / 273 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0004465/0.03532, allocations: 490.3 kB / 273.4 MB, free: 416 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.03534, allocations: 12 kB / 273.4 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.03535, allocations: 8 kB / 273.5 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.0355, allocations: 70.09 kB / 273.5 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.03578, allocations: 175.7 kB / 273.7 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.037, allocations: 2.597 MB / 276.3 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.03722, allocations: 40.09 kB / 276.3 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.03725, allocations: 28 kB / 276.4 MB, free: 13.3 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.0001497/0.0374, allocations: 157.5 kB / 276.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.295e-05/0.03746, allocations: 63.94 kB / 276.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.03776, allocations: 290.6 kB / 276.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.03777, allocations: 4 kB / 276.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.03777, allocations: 0 / 276.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.03777, allocations: 3.984 kB / 276.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000762/0.03854, allocations: 0.7637 MB / 277.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.03854, allocations: 4 kB / 277.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.0387, allocations: 75.91 kB / 277.7 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.03881, allocations: 71.47 kB / 277.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001241/0.03894, allocations: 65.78 kB / 277.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.03895, allocations: 12 kB / 277.9 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.04003, allocations: 2.589 MB / 280.4 MB, free: 8.957 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.04004, allocations: 7.938 kB / 280.5 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.04041, allocations: 474 kB / 280.9 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.009e-05/0.04046, allocations: 23.97 kB / 280.9 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.04062, allocations: 19.98 kB / 281 MB, free: 8.398 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.04066, allocations: 39.88 kB / 281 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.04068, allocations: 8 kB / 281 MB, free: 8.352 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002249/0.0409, allocations: 311.4 kB / 281.3 MB, free: 8.051 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0409, allocations: 0 / 281.3 MB, free: 8.051 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004704/0.04137, allocations: 204 kB / 281.5 MB, free: 7.852 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.0001507/0.04152, allocations: 108.3 kB / 281.6 MB, free: 7.738 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004459/0.04197, allocations: 0.5334 MB / 282.1 MB, free: 7.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.111e-05/0.04199, allocations: 14.5 kB / 282.2 MB, free: 7.168 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.04223, allocations: 366.3 kB / 282.5 MB, free: 6.781 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.04275, allocations: 281.9 kB / 282.8 MB, free: 6.512 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008833/0.05158, allocations: 1.75 MB / 284.5 MB, free: 4.699 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.05172, allocations: 179.2 kB / 284.7 MB, free: 4.504 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002804/0.052, allocations: 98.67 kB / 284.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.05229, allocations: 229.2 kB / 285 MB, free: 4.18 MB / 282.7 MB Notification: Performance of SimCode: time 1.774e-06/0.05229, allocations: 0 / 285 MB, free: 4.18 MB / 282.7 MB Notification: Performance of Templates: time 0.1048/0.1571, allocations: 11.39 MB / 296.4 MB, free: 32.62 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8102161176502705]