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.002301/0.002301, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002607/0.002607, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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 1.596/1.596, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.703e-06/1.703e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.846e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.01039/0.01042, allocations: 7.096 MB / 279.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004429/0.01485, allocations: 2.314 MB / 281.6 MB, free: 8.328 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000497/0.01535, allocations: 19.94 kB / 281.6 MB, free: 8.309 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.01668, allocations: 484.9 kB / 282.1 MB, free: 7.832 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009114/0.0176, allocations: 428.6 kB / 282.5 MB, free: 7.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.01802, allocations: 211.7 kB / 282.7 MB, free: 7.203 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001461/0.01948, allocations: 1.244 MB / 284 MB, free: 5.957 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005836/0.02006, allocations: 332.4 kB / 284.3 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.0211, allocations: 0.7092 MB / 285 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006098/0.02171, allocations: 382.9 kB / 285.4 MB, free: 4.523 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.02188, allocations: 112 kB / 285.5 MB, free: 4.414 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003168/0.0222, allocations: 156 kB / 285.6 MB, free: 4.262 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000236/0.02243, allocations: 231.1 kB / 285.9 MB, free: 4.035 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004962/0.02293, allocations: 379.1 kB / 286.2 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.02478, allocations: 1.448 MB / 287.7 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.02478, allocations: 0 / 287.7 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.02478, allocations: 0 / 287.7 MB, free: 2.211 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.02479, allocations: 0 / 287.7 MB, free: 2.211 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.002383/0.02718, allocations: 1.387 MB / 289.1 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.02722, allocations: 11.98 kB / 289.1 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005988/0.02781, allocations: 212.2 kB / 289.3 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1184/0.1462, allocations: 0.6003 MB / 289.9 MB, free: 28.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-05/0.1463, allocations: 63.84 kB / 290 MB, free: 28.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.1465, allocations: 83.7 kB / 290 MB, free: 28.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.1479, allocations: 0.8863 MB / 290.9 MB, free: 28.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.1479, allocations: 4.859 kB / 290.9 MB, free: 28.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.276e-05/0.148, allocations: 35.66 kB / 291 MB, free: 28.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.148, allocations: 19.66 kB / 291 MB, free: 28.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009097/0.1489, allocations: 499.1 kB / 291.5 MB, free: 28.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004847/0.1538, allocations: 3.984 MB / 295.5 MB, free: 25.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/0.1542, allocations: 224.5 kB / 295.7 MB, free: 25.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.1544, allocations: 107.4 kB / 295.8 MB, free: 25.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.1545, allocations: 4.438 kB / 295.8 MB, free: 25.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.1545, allocations: 41.56 kB / 295.8 MB, free: 25.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.1545, allocations: 0 / 295.8 MB, free: 25.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.001839/0.1563, allocations: 0.8913 MB / 296.7 MB, free: 24.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.1564, allocations: 80.53 kB / 296.8 MB, free: 24.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.1574, allocations: 0.8853 MB / 297.7 MB, free: 24.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1574, allocations: 31.02 kB / 297.7 MB, free: 24.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/0.1577, allocations: 0.6003 MB / 298.3 MB, free: 23.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.485e-05/0.1578, allocations: 116.3 kB / 298.4 MB, free: 23.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.1579, allocations: 142.2 kB / 298.6 MB, free: 23.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1581, allocations: 0.5953 MB / 299.2 MB, free: 22.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.1583, allocations: 112.3 kB / 299.3 MB, free: 22.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.1587, allocations: 0.5732 MB / 299.8 MB, free: 22.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006005/0.1593, allocations: 0.7082 MB / 300.5 MB, free: 21.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.1593, allocations: 2.25 kB / 300.5 MB, free: 21.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009481/0.1603, allocations: 0.6234 MB / 301.2 MB, free: 21.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.1603, allocations: 10.19 kB / 301.2 MB, free: 21.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.1603, allocations: 13.89 kB / 301.2 MB, free: 21.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001674/0.1605, allocations: 36.98 kB / 301.2 MB, free: 21.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/0.1609, allocations: 135.8 kB / 301.4 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000859/0.1617, allocations: 1.791 MB / 303.2 MB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.1622, allocations: 26.8 kB / 303.2 MB, free: 19.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.1622, allocations: 28.72 kB / 303.2 MB, free: 19.54 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.0002959/0.1625, allocations: 279.6 kB / 303.5 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.1626, allocations: 80.45 kB / 303.6 MB, free: 19.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005588/0.1632, allocations: 305.9 kB / 303.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1632, allocations: 5.594 kB / 303.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1632, allocations: 0 / 303.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.1632, allocations: 2.641 kB / 303.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.1648, allocations: 1.166 MB / 305 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.1648, allocations: 2.219 kB / 305 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.1651, allocations: 56.8 kB / 305.1 MB, free: 18.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.121e-05/0.1651, allocations: 27.25 kB / 305.1 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.1652, allocations: 12.48 kB / 305.1 MB, free: 18.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007009/0.1659, allocations: 1.768 MB / 306.9 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1659, allocations: 1.375 kB / 306.9 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000722/0.1666, allocations: 0.6136 MB / 307.5 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.1668, allocations: 88.66 kB / 307.6 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.422e-05/0.1669, allocations: 9.016 kB / 307.6 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.1671, allocations: 14.25 kB / 307.6 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.1672, allocations: 36.73 kB / 307.7 MB, free: 16.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.1672, allocations: 6.844 kB / 307.7 MB, free: 16.06 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006302/0.1679, allocations: 0.5409 MB / 308.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1679, allocations: 0 / 308.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007071/0.1686, allocations: 160.7 kB / 308.4 MB, free: 15.79 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.0001858/0.1687, allocations: 123.5 kB / 308.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008257/0.1696, allocations: 0.5316 MB / 309 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1696, allocations: 5.344 kB / 309 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.1699, allocations: 299.7 kB / 309.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008703/0.1707, allocations: 185.6 kB / 309.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.1726, allocations: 1.382 MB / 310.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.1728, allocations: 345.2 kB / 311.2 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002388/0.1731, allocations: 85.09 kB / 311.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.643e-05/0.1732, allocations: 48.5 kB / 311.3 MB, free: 13.74 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1732, allocations: 0 / 311.3 MB, free: 13.74 MB / 266.7 MB Notification: Performance of Templates: time 0.01286/0.186, allocations: 7.998 MB / 319.3 MB, free: 6.078 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.922973703010939]