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.0009553/0.0009553, allocations: 84.73 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.001159/0.001159, allocations: 164.4 kB / 24.91 MB, free: 8.734 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.9096/0.9096, allocations: 177 MB / 205.2 MB, free: 5.07 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.343e-06/1.343e-06, allocations: 0 / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288e-05/1.423e-05, allocations: 2.312 kB / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.005716/0.00573, allocations: 7.038 MB / 280.5 MB, free: 9.949 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003184/0.008915, allocations: 2.383 MB / 282.9 MB, free: 7.559 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003366/0.009251, allocations: 23.88 kB / 282.9 MB, free: 7.535 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008866/0.01014, allocations: 0.4891 MB / 283.4 MB, free: 7.043 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005269/0.01066, allocations: 436.6 kB / 283.8 MB, free: 6.613 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.01091, allocations: 203.7 kB / 284 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007619/0.01168, allocations: 1.252 MB / 285.2 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000346/0.01202, allocations: 340.5 kB / 285.6 MB, free: 4.797 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005425/0.01257, allocations: 0.7093 MB / 286.3 MB, free: 4.086 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.01289, allocations: 390.8 kB / 286.7 MB, free: 3.703 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.422e-05/0.01298, allocations: 112 kB / 286.8 MB, free: 3.594 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.01316, allocations: 151.9 kB / 286.9 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.01327, allocations: 227.1 kB / 287.2 MB, free: 3.223 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.01349, allocations: 387 kB / 287.5 MB, free: 2.844 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00059/0.01408, allocations: 0.7588 MB / 288.3 MB, free: 2.082 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.01408, allocations: 8 kB / 288.3 MB, free: 2.074 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.01408, allocations: 0 / 288.3 MB, free: 2.074 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.01409, allocations: 4 kB / 288.3 MB, free: 2.07 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.001214/0.01531, allocations: 1.153 MB / 289.5 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.716e-05/0.01533, allocations: 15.98 kB / 289.5 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002801/0.01561, allocations: 184.8 kB / 289.6 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004909/0.0161, allocations: 466.6 kB / 290.1 MB, free: 212 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.01613, allocations: 58.38 kB / 290.2 MB, free: 156 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-05/0.0162, allocations: 88.33 kB / 290.2 MB, free: 68 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1054/0.1216, allocations: 0.6037 MB / 290.9 MB, free: 24.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.1216, allocations: 8.922 kB / 290.9 MB, free: 24.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.1217, allocations: 32.14 kB / 290.9 MB, free: 24.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.1217, allocations: 19.44 kB / 290.9 MB, free: 24.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/0.1219, allocations: 201.3 kB / 291.1 MB, free: 24.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/0.1242, allocations: 2.592 MB / 293.7 MB, free: 23.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.1244, allocations: 130.9 kB / 293.8 MB, free: 22.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.1244, allocations: 47.81 kB / 293.9 MB, free: 22.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.1245, allocations: 5.156 kB / 293.9 MB, free: 22.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.1245, allocations: 33.33 kB / 293.9 MB, free: 22.94 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.453e-06/0.1245, allocations: 0 / 293.9 MB, free: 22.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008073/0.1253, allocations: 0.5362 MB / 294.4 MB, free: 22.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/0.1253, allocations: 80.56 kB / 294.5 MB, free: 22.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004665/0.1258, allocations: 0.6001 MB / 295.1 MB, free: 22.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.1258, allocations: 30.7 kB / 295.2 MB, free: 22.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.126, allocations: 456.5 kB / 295.6 MB, free: 22.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.138e-05/0.126, allocations: 110.7 kB / 295.7 MB, free: 22.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.863e-05/0.1261, allocations: 116.6 kB / 295.8 MB, free: 22.15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.798e-05/0.1262, allocations: 382.9 kB / 296.2 MB, free: 21.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-05/0.1262, allocations: 43.5 kB / 296.2 MB, free: 21.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.1264, allocations: 374.9 kB / 296.6 MB, free: 21.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.1267, allocations: 452.1 kB / 297 MB, free: 21.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1267, allocations: 2.656 kB / 297.1 MB, free: 21.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004426/0.1271, allocations: 402.8 kB / 297.4 MB, free: 21.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1271, allocations: 9.391 kB / 297.5 MB, free: 21.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.1271, allocations: 10.78 kB / 297.5 MB, free: 21.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.867e-05/0.1272, allocations: 28.09 kB / 297.5 MB, free: 21.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.1275, allocations: 152.2 kB / 297.6 MB, free: 21.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004676/0.128, allocations: 1.166 MB / 298.8 MB, free: 19.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.1282, allocations: 36.3 kB / 298.8 MB, free: 19.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.1282, allocations: 30.69 kB / 298.9 MB, free: 19.91 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.0001191/0.1283, allocations: 155.2 kB / 299 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.1284, allocations: 46.81 kB / 299.1 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.1286, allocations: 185.9 kB / 299.2 MB, free: 19.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1286, allocations: 4.047 kB / 299.3 MB, free: 19.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1286, allocations: 3.938 kB / 299.3 MB, free: 19.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1286, allocations: 2.875 kB / 299.3 MB, free: 19.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/0.1293, allocations: 0.5916 MB / 299.9 MB, free: 19.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1293, allocations: 1.438 kB / 299.9 MB, free: 19.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.1294, allocations: 61.05 kB / 299.9 MB, free: 19.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-05/0.1295, allocations: 21.41 kB / 299.9 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1295, allocations: 11.34 kB / 299.9 MB, free: 19.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003335/0.1298, allocations: 1.154 MB / 301.1 MB, free: 18.31 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.1298, allocations: 4.656 kB / 301.1 MB, free: 18.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.1301, allocations: 366.2 kB / 301.5 MB, free: 18.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.343e-05/0.1302, allocations: 57.28 kB / 301.5 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.1302, allocations: 9.953 kB / 301.5 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.1304, allocations: 18.39 kB / 301.5 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.1304, allocations: 31.45 kB / 301.6 MB, free: 18.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.1304, allocations: 10.34 kB / 301.6 MB, free: 18.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002604/0.1307, allocations: 282.7 kB / 301.9 MB, free: 18.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1307, allocations: 0 / 301.9 MB, free: 18.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000398/0.1311, allocations: 155.7 kB / 302 MB, free: 18.02 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.0001247/0.1312, allocations: 103.6 kB / 302.1 MB, free: 17.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003425/0.1315, allocations: 344.1 kB / 302.5 MB, free: 17.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-05/0.1316, allocations: 14.94 kB / 302.5 MB, free: 17.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.1317, allocations: 190.5 kB / 302.7 MB, free: 17.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.1321, allocations: 174.6 kB / 302.8 MB, free: 17.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.1337, allocations: 1.282 MB / 304.1 MB, free: 16.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.94e-05/0.1338, allocations: 143.7 kB / 304.2 MB, free: 16.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000208/0.134, allocations: 87.34 kB / 304.3 MB, free: 16.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.1342, allocations: 197.7 kB / 304.5 MB, free: 16.76 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1342, allocations: 0 / 304.5 MB, free: 16.76 MB / 266.7 MB Notification: Performance of Templates: time 0.01072/0.145, allocations: 8.642 MB / 313.2 MB, free: 11.86 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 -s gbode -gbm=radauIIA3 -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.790224158205092]