Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.001318/0.001318, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.001179/0.001179, allocations: 161.8 kB / 24.91 MB, free: 8.766 MB / 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 0.9766/0.9766, allocations: 177 MB / 205.2 MB, free: 5.438 MB / 186.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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.388e-05, allocations: 2.312 kB / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.006262/0.006286, allocations: 7.006 MB / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.008724, allocations: 2.387 MB / 282.8 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002704/0.008994, allocations: 19.94 kB / 282.8 MB, free: 7.746 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007833/0.009777, allocations: 0.489 MB / 283.3 MB, free: 7.254 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004648/0.01024, allocations: 428.7 kB / 283.7 MB, free: 6.832 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.01047, allocations: 207.7 kB / 283.9 MB, free: 6.629 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00076/0.01123, allocations: 1.249 MB / 285.2 MB, free: 5.375 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/0.01158, allocations: 328.5 kB / 285.5 MB, free: 5.023 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006242/0.0122, allocations: 0.7171 MB / 286.2 MB, free: 4.305 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.01253, allocations: 390.8 kB / 286.6 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.417e-05/0.01262, allocations: 112 kB / 286.7 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.01277, allocations: 147.9 kB / 286.8 MB, free: 3.668 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.01288, allocations: 235.1 kB / 287.1 MB, free: 3.438 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000341/0.01323, allocations: 379.1 kB / 287.4 MB, free: 3.066 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006118/0.01384, allocations: 0.7627 MB / 288.2 MB, free: 2.301 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.01384, allocations: 0 / 288.2 MB, free: 2.301 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.01384, allocations: 3.938 kB / 288.2 MB, free: 2.297 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.01385, allocations: 0 / 288.2 MB, free: 2.297 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001026/0.01487, allocations: 1.165 MB / 289.4 MB, free: 1.105 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.01491, allocations: 11.98 kB / 289.4 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003264/0.01523, allocations: 176.8 kB / 289.5 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005049/0.01574, allocations: 466.7 kB / 290 MB, free: 444 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.01577, allocations: 58.38 kB / 290.1 MB, free: 388 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.978e-05/0.01584, allocations: 84.33 kB / 290.1 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09946/0.1153, allocations: 0.6126 MB / 290.8 MB, free: 24.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.1153, allocations: 5.062 kB / 290.8 MB, free: 24.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.1154, allocations: 33 kB / 290.8 MB, free: 24.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.1154, allocations: 19.31 kB / 290.8 MB, free: 24.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.1156, allocations: 200.5 kB / 291 MB, free: 24.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/0.1183, allocations: 2.595 MB / 293.6 MB, free: 23.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.1185, allocations: 133.4 kB / 293.7 MB, free: 23.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.1186, allocations: 46.88 kB / 293.8 MB, free: 23.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.1186, allocations: 5.594 kB / 293.8 MB, free: 23.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.1186, allocations: 37.66 kB / 293.8 MB, free: 23.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 2.575e-06/0.1186, allocations: 1.938 kB / 293.8 MB, free: 23.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008742/0.1195, allocations: 0.5252 MB / 294.3 MB, free: 22.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.1195, allocations: 86.66 kB / 294.4 MB, free: 22.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004661/0.12, allocations: 0.5937 MB / 295 MB, free: 22.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.12, allocations: 31.38 kB / 295.1 MB, free: 22.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.1202, allocations: 458.7 kB / 295.5 MB, free: 22.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.1202, allocations: 110.7 kB / 295.6 MB, free: 22.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-05/0.1203, allocations: 116.5 kB / 295.7 MB, free: 22.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.963e-05/0.1204, allocations: 380.9 kB / 296.1 MB, free: 21.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.708e-05/0.1204, allocations: 45.14 kB / 296.1 MB, free: 21.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.1206, allocations: 372.9 kB / 296.5 MB, free: 21.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.1208, allocations: 453.4 kB / 297 MB, free: 21.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1208, allocations: 3.438 kB / 297 MB, free: 21.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004159/0.1212, allocations: 403.5 kB / 297.3 MB, free: 21.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1213, allocations: 9.188 kB / 297.4 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.1213, allocations: 10.31 kB / 297.4 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001072/0.1214, allocations: 32.2 kB / 297.4 MB, free: 21.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.1216, allocations: 140.1 kB / 297.5 MB, free: 21.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004372/0.1221, allocations: 1.169 MB / 298.7 MB, free: 20.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.1223, allocations: 33.91 kB / 298.7 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.1223, allocations: 25.78 kB / 298.8 MB, free: 20.02 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.0001224/0.1225, allocations: 158.8 kB / 298.9 MB, free: 19.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/0.1225, allocations: 43.14 kB / 299 MB, free: 19.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.1227, allocations: 186.8 kB / 299.1 MB, free: 19.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1227, allocations: 3.344 kB / 299.1 MB, free: 19.85 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.1227, allocations: 5.312 kB / 299.2 MB, free: 19.85 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1227, allocations: 5.766 kB / 299.2 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000668/0.1234, allocations: 0.5907 MB / 299.7 MB, free: 19.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1234, allocations: 3.156 kB / 299.7 MB, free: 19.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.1236, allocations: 57.3 kB / 299.8 MB, free: 19.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.877e-05/0.1236, allocations: 22.06 kB / 299.8 MB, free: 19.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1236, allocations: 8.188 kB / 299.8 MB, free: 19.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000311/0.1239, allocations: 1.157 MB / 301 MB, free: 18.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1239, allocations: 3.125 kB / 301 MB, free: 18.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.1242, allocations: 362.6 kB / 301.3 MB, free: 18.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.573e-05/0.1243, allocations: 60.98 kB / 301.4 MB, free: 18.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.1243, allocations: 7.469 kB / 301.4 MB, free: 18.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.1245, allocations: 13.95 kB / 301.4 MB, free: 18.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.1245, allocations: 34.2 kB / 301.5 MB, free: 18.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.1245, allocations: 6.031 kB / 301.5 MB, free: 18.17 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002677/0.1248, allocations: 278.5 kB / 301.7 MB, free: 18.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1248, allocations: 0 / 301.7 MB, free: 18.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000445/0.1252, allocations: 160.4 kB / 301.9 MB, free: 18.14 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.0001407/0.1254, allocations: 104.2 kB / 302 MB, free: 18.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003645/0.1257, allocations: 348.5 kB / 302.3 MB, free: 17.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.107e-05/0.1258, allocations: 10.97 kB / 302.4 MB, free: 17.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.1259, allocations: 192.8 kB / 302.5 MB, free: 17.78 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.1263, allocations: 176.8 kB / 302.7 MB, free: 17.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.1279, allocations: 1.291 MB / 304 MB, free: 17.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.44e-05/0.128, allocations: 144 kB / 304.1 MB, free: 16.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002118/0.1282, allocations: 82.67 kB / 304.2 MB, free: 16.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.1285, allocations: 204.7 kB / 304.4 MB, free: 16.87 MB / 266.7 MB Notification: Performance of SimCode: time 1.423e-06/0.1285, allocations: 0 / 304.4 MB, free: 16.87 MB / 266.7 MB Notification: Performance of Templates: time 0.01139/0.1399, allocations: 8.593 MB / 313 MB, free: 12.25 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 2.801119726151228]