Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.00138/0.00138, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002194/0.002194, allocations: 147.1 kB / 23.93 MB, free: 4.176 MB / 14.72 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 1.42/1.42, allocations: 173.4 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] 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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.405e-05, allocations: 2.281 kB / 318.9 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.006957/0.006981, allocations: 6.342 MB / 325.3 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004696/0.01168, allocations: 2.175 MB / 327.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007588/0.01244, allocations: 20.81 kB / 327.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.01399, allocations: 483 kB / 327.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.01515, allocations: 432.6 kB / 328.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.01566, allocations: 206 kB / 328.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001533/0.01719, allocations: 1.254 MB / 329.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005894/0.01778, allocations: 322.4 kB / 330.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009173/0.0187, allocations: 0.7012 MB / 330.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005288/0.01923, allocations: 366.4 kB / 331.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.01937, allocations: 114.3 kB / 331.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000315/0.01968, allocations: 148.7 kB / 331.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.01992, allocations: 231.3 kB / 331.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004832/0.0204, allocations: 376.5 kB / 332.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.0222, allocations: 1.44 MB / 333.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.02221, allocations: 5.5 kB / 333.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.02221, allocations: 0 / 333.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.02222, allocations: 0 / 333.5 MB, free: 10.51 MB / 302.1 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.002128/0.02435, allocations: 1.195 MB / 334.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.02439, allocations: 9.312 kB / 334.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005007/0.02489, allocations: 153.6 kB / 334.9 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.02596, allocations: 0.5737 MB / 335.4 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.425e-05/0.02602, allocations: 57.84 kB / 335.5 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.02614, allocations: 88.36 kB / 335.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.02751, allocations: 0.8323 MB / 336.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/0.02754, allocations: 10.58 kB / 336.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.377e-05/0.02762, allocations: 35.56 kB / 336.4 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.02763, allocations: 19.53 kB / 336.5 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.02868, allocations: 0.5133 MB / 337 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004031/0.03271, allocations: 2.915 MB / 339.9 MB, free: 5.633 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005066/0.03322, allocations: 221.4 kB / 340.1 MB, free: 5.512 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.03346, allocations: 102.3 kB / 340.2 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.03348, allocations: 3.844 kB / 340.2 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.03352, allocations: 41.05 kB / 340.3 MB, free: 5.414 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.803e-06/0.03353, allocations: 0 / 340.3 MB, free: 5.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.002015/0.03554, allocations: 0.8891 MB / 341.1 MB, free: 4.832 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.03561, allocations: 84.59 kB / 341.2 MB, free: 4.734 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009111/0.03652, allocations: 0.6879 MB / 341.9 MB, free: 4.273 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.03654, allocations: 33.64 kB / 341.9 MB, free: 4.234 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003958/0.03694, allocations: 0.5149 MB / 342.5 MB, free: 3.715 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.713e-05/0.03704, allocations: 107.1 kB / 342.6 MB, free: 3.609 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.0372, allocations: 114.2 kB / 342.7 MB, free: 3.492 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.0374, allocations: 370.8 kB / 343 MB, free: 3.121 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.03769, allocations: 125.2 kB / 343.2 MB, free: 2.996 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000554/0.03825, allocations: 443.9 kB / 343.6 MB, free: 2.418 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008543/0.0391, allocations: 0.5755 MB / 344.2 MB, free: 1.707 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.03911, allocations: 4 kB / 344.2 MB, free: 1.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001126/0.04023, allocations: 0.6033 MB / 344.8 MB, free: 1.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.04025, allocations: 8 kB / 344.8 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.04027, allocations: 11.94 kB / 344.8 MB, free: 1.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001526/0.04042, allocations: 36.84 kB / 344.8 MB, free: 1.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004468/0.04087, allocations: 140.2 kB / 345 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.042, allocations: 1.26 MB / 346.2 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.04241, allocations: 27.98 kB / 346.3 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.04245, allocations: 39.92 kB / 346.3 MB, free: 15.46 MB / 318.1 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.0003073/0.04276, allocations: 241.7 kB / 346.5 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.04287, allocations: 71.53 kB / 346.6 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006623/0.04353, allocations: 309.1 kB / 346.9 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.04354, allocations: 4 kB / 346.9 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.04354, allocations: 0 / 346.9 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.04354, allocations: 0 / 346.9 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.04509, allocations: 0.9106 MB / 347.8 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.0451, allocations: 0 / 347.8 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.04537, allocations: 67.84 kB / 347.9 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.619e-05/0.04545, allocations: 16.84 kB / 347.9 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.04547, allocations: 8.219 kB / 347.9 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.04649, allocations: 1.248 MB / 349.2 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.04649, allocations: 0 / 349.2 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009404/0.04743, allocations: 0.5573 MB / 349.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.04762, allocations: 87.58 kB / 349.8 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-05/0.04771, allocations: 8 kB / 349.8 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.04803, allocations: 23.91 kB / 349.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/0.0481, allocations: 27.91 kB / 349.9 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.04811, allocations: 12 kB / 349.9 MB, free: 11.65 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006105/0.04872, allocations: 463 kB / 350.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.04872, allocations: 0 / 350.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006372/0.04936, allocations: 160 kB / 350.5 MB, free: 11.05 MB / 318.1 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.0001975/0.04956, allocations: 123.2 kB / 350.6 MB, free: 10.92 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008988/0.05046, allocations: 456.3 kB / 351 MB, free: 10.46 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.05046, allocations: 3.938 kB / 351 MB, free: 10.46 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003933/0.05085, allocations: 227.3 kB / 351.3 MB, free: 10.22 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000893/0.05175, allocations: 170 kB / 351.4 MB, free: 10.06 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.05392, allocations: 1.342 MB / 352.8 MB, free: 8.664 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.05429, allocations: 352.3 kB / 353.1 MB, free: 8.293 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00026/0.05455, allocations: 81.48 kB / 353.2 MB, free: 8.211 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.05466, allocations: 44.5 kB / 353.2 MB, free: 8.168 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.05466, allocations: 0 / 353.2 MB, free: 8.168 MB / 318.1 MB Notification: Performance of Templates: time 0.01578/0.07044, allocations: 7.922 MB / 361.2 MB, free: 428 kB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.592818446457386]