Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.001555/0.001555, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001831/0.001831, allocations: 169.6 kB / 25.33 MB, free: 9.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9718/0.9718, allocations: 158.6 MB / 187.2 MB, free: 2.512 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.015e-05, allocations: 6.25 kB / 251.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.007448/0.007478, allocations: 7.087 MB / 258.1 MB, free: 12.44 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004097/0.01158, allocations: 2.35 MB / 260.5 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007581/0.01233, allocations: 19.94 kB / 260.5 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.01353, allocations: 476.9 kB / 261 MB, free: 9.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008728/0.01441, allocations: 440.6 kB / 261.4 MB, free: 9.156 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.01478, allocations: 203.8 kB / 261.6 MB, free: 8.957 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.01591, allocations: 1.252 MB / 262.9 MB, free: 7.699 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004562/0.01636, allocations: 312.5 kB / 263.2 MB, free: 7.371 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.01768, allocations: 0.7169 MB / 263.9 MB, free: 6.652 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005728/0.01825, allocations: 378.9 kB / 264.3 MB, free: 6.281 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.01838, allocations: 112 kB / 264.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.01865, allocations: 148 kB / 264.5 MB, free: 6.027 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.01877, allocations: 239.1 kB / 264.7 MB, free: 5.793 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003782/0.01915, allocations: 371.1 kB / 265.1 MB, free: 5.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.02032, allocations: 0.7744 MB / 265.9 MB, free: 4.652 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.02032, allocations: 0 / 265.9 MB, free: 4.652 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.02032, allocations: 0 / 265.9 MB, free: 4.652 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.721e-05/0.02036, allocations: 0 / 265.9 MB, free: 4.652 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001688/0.02205, allocations: 1.298 MB / 267.2 MB, free: 3.316 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.0221, allocations: 11.98 kB / 267.2 MB, free: 3.305 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004086/0.02251, allocations: 212.2 kB / 267.4 MB, free: 3.098 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008442/0.02335, allocations: 0.5871 MB / 268 MB, free: 2.48 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.02338, allocations: 54.38 kB / 268 MB, free: 2.43 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-05/0.02347, allocations: 88.33 kB / 268.1 MB, free: 2.344 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008187/0.02429, allocations: 0.6569 MB / 268.8 MB, free: 1.633 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.02432, allocations: 8.172 kB / 268.8 MB, free: 1.625 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.676e-05/0.02437, allocations: 39.94 kB / 268.8 MB, free: 1.586 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.02438, allocations: 23.94 kB / 268.8 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004478/0.02483, allocations: 283.7 kB / 269.1 MB, free: 1.289 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003228/0.02806, allocations: 3.251 MB / 272.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.02838, allocations: 160.5 kB / 272.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.922e-05/0.02847, allocations: 59.66 kB / 272.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.02849, allocations: 4.438 kB / 272.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.02852, allocations: 41.39 kB / 272.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 2.585e-06/0.02852, allocations: 0 / 272.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.00126/0.02978, allocations: 0.7207 MB / 273.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.02983, allocations: 85.05 kB / 273.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005822/0.03041, allocations: 0.6789 MB / 274.1 MB, free: 12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.03043, allocations: 33.7 kB / 274.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/0.03074, allocations: 0.5684 MB / 274.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.03081, allocations: 107.1 kB / 274.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.03092, allocations: 119.9 kB / 274.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.0311, allocations: 0.5508 MB / 275.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.03121, allocations: 61.27 kB / 275.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.03151, allocations: 0.4914 MB / 276 MB, free: 9.848 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004679/0.03198, allocations: 0.5838 MB / 276.6 MB, free: 9.078 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.03199, allocations: 4 kB / 276.6 MB, free: 9.074 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005878/0.03258, allocations: 0.5087 MB / 277.1 MB, free: 8.555 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.0326, allocations: 12 kB / 277.2 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.03261, allocations: 11.94 kB / 277.2 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001659/0.03278, allocations: 31.67 kB / 277.2 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.03304, allocations: 135.8 kB / 277.3 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.03428, allocations: 1.744 MB / 279.1 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.03453, allocations: 35.94 kB / 279.1 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.03456, allocations: 35.94 kB / 279.1 MB, free: 6.43 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000189/0.03475, allocations: 204.2 kB / 279.3 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.03e-05/0.03482, allocations: 79.58 kB / 279.4 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.03511, allocations: 231.9 kB / 279.6 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.03511, allocations: 4 kB / 279.6 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.03512, allocations: 0 / 279.6 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.03512, allocations: 0 / 279.6 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009403/0.03606, allocations: 0.9085 MB / 280.6 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.03607, allocations: 4 kB / 280.6 MB, free: 4.895 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.03623, allocations: 64.06 kB / 280.6 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.193e-05/0.03631, allocations: 23.67 kB / 280.6 MB, free: 4.805 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.03633, allocations: 8 kB / 280.7 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008405/0.03717, allocations: 1.732 MB / 282.4 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.03717, allocations: 4 kB / 282.4 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004433/0.03762, allocations: 0.4942 MB / 282.9 MB, free: 2.395 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.03775, allocations: 91.53 kB / 283 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.03779, allocations: 8 kB / 283 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.03793, allocations: 15.92 kB / 283 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.981e-05/0.038, allocations: 31.91 kB / 283 MB, free: 2.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.03801, allocations: 4 kB / 283 MB, free: 2.246 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003483/0.03836, allocations: 435 kB / 283.5 MB, free: 1.828 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03836, allocations: 0 / 283.5 MB, free: 1.828 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004801/0.03884, allocations: 164 kB / 283.6 MB, free: 1.668 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(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.0001812/0.03902, allocations: 111.1 kB / 283.7 MB, free: 1.551 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005147/0.03954, allocations: 433.9 kB / 284.2 MB, free: 1.109 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.03954, allocations: 1.938 kB / 284.2 MB, free: 1.109 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.03971, allocations: 257.5 kB / 284.4 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.04023, allocations: 181.5 kB / 284.6 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.04258, allocations: 1.335 MB / 285.9 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.04268, allocations: 150 kB / 286.1 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002186/0.04289, allocations: 81.48 kB / 286.1 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.202e-05/0.04297, allocations: 48.48 kB / 286.2 MB, free: 14.96 MB / 282.7 MB Notification: Performance of SimCode: time 1.603e-06/0.04297, allocations: 0 / 286.2 MB, free: 14.96 MB / 282.7 MB Notification: Performance of Templates: time 0.01297/0.05594, allocations: 8.52 MB / 294.7 MB, free: 6.465 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_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: 3.139284159988165]