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.0009652/0.0009652, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004889/0.004889, allocations: 160 kB / 24.7 MB, free: 9.441 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.8633/0.8633, allocations: 177 MB / 204.9 MB, free: 5.715 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.993e-06/1.993e-06, allocations: 0 / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.311e-05/3.511e-05, allocations: 3.266 kB / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.007247/0.007283, allocations: 6.372 MB / 332.2 MB, free: 8.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003266/0.01055, allocations: 2.209 MB / 334.4 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004221/0.01097, allocations: 19.94 kB / 334.4 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.01203, allocations: 488.8 kB / 334.9 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006486/0.01268, allocations: 432.7 kB / 335.3 MB, free: 5.789 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.013, allocations: 211.6 kB / 335.5 MB, free: 5.582 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009915/0.01399, allocations: 1.249 MB / 336.7 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004782/0.01447, allocations: 316.5 kB / 337.1 MB, free: 4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007437/0.01521, allocations: 0.7015 MB / 337.8 MB, free: 3.297 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004001/0.01561, allocations: 358.8 kB / 338.1 MB, free: 2.945 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.01572, allocations: 120 kB / 338.2 MB, free: 2.828 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.01593, allocations: 144 kB / 338.4 MB, free: 2.688 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.01607, allocations: 231.1 kB / 338.6 MB, free: 2.461 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003149/0.01638, allocations: 387 kB / 339 MB, free: 2.082 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.01772, allocations: 1.433 MB / 340.4 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.01772, allocations: 0 / 340.4 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.01772, allocations: 0 / 340.4 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.01773, allocations: 0 / 340.4 MB, free: 0.6406 MB / 298.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.001629/0.01936, allocations: 1.198 MB / 341.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.0194, allocations: 15.98 kB / 341.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003616/0.01976, allocations: 152.2 kB / 341.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009034/0.02067, allocations: 0.5758 MB / 342.3 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.02071, allocations: 58.38 kB / 342.4 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.02082, allocations: 92.31 kB / 342.5 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.02192, allocations: 0.8301 MB / 343.3 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/0.02195, allocations: 4.188 kB / 343.3 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-05/0.022, allocations: 35.94 kB / 343.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.02202, allocations: 20 kB / 343.4 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008471/0.02287, allocations: 0.5114 MB / 343.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002728/0.02559, allocations: 2.92 MB / 346.8 MB, free: 9.949 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.02595, allocations: 221.6 kB / 347 MB, free: 9.727 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.02609, allocations: 104.8 kB / 347.1 MB, free: 9.621 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.02611, allocations: 4 kB / 347.1 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.02613, allocations: 38.55 kB / 347.2 MB, free: 9.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.933e-06/0.02614, allocations: 0 / 347.2 MB, free: 9.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001299/0.02743, allocations: 0.8929 MB / 348.1 MB, free: 8.641 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.02748, allocations: 85.28 kB / 348.1 MB, free: 8.539 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005245/0.02801, allocations: 0.6759 MB / 348.8 MB, free: 7.855 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.02803, allocations: 33.7 kB / 348.8 MB, free: 7.816 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.02827, allocations: 0.5187 MB / 349.4 MB, free: 7.293 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.132e-05/0.02832, allocations: 107.1 kB / 349.5 MB, free: 7.188 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-05/0.02841, allocations: 114.2 kB / 349.6 MB, free: 7.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.02851, allocations: 370.8 kB / 349.9 MB, free: 6.699 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.02867, allocations: 129.2 kB / 350.1 MB, free: 6.574 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.02895, allocations: 447.9 kB / 350.5 MB, free: 5.992 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004588/0.02941, allocations: 0.5755 MB / 351.1 MB, free: 5.281 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.02941, allocations: 4 kB / 351.1 MB, free: 5.277 MB / 314.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007525/0.03016, allocations: 0.6035 MB / 351.7 MB, free: 4.664 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.03018, allocations: 8 kB / 351.7 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.0302, allocations: 15.94 kB / 351.7 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.03033, allocations: 32.84 kB / 351.7 MB, free: 4.605 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.03056, allocations: 139.8 kB / 351.9 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000649/0.0312, allocations: 1.268 MB / 353.2 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.03141, allocations: 31.94 kB / 353.2 MB, free: 3.066 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.03143, allocations: 36 kB / 353.2 MB, free: 3.031 MB / 314.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.0001899/0.03162, allocations: 233.6 kB / 353.4 MB, free: 2.793 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/0.03168, allocations: 63.73 kB / 353.5 MB, free: 2.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003694/0.03205, allocations: 317.1 kB / 353.8 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.03205, allocations: 4 kB / 353.8 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.03205, allocations: 0 / 353.8 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.03206, allocations: 0 / 353.8 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008408/0.0329, allocations: 0.9067 MB / 354.7 MB, free: 1.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.0329, allocations: 4 kB / 354.7 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.03304, allocations: 63.84 kB / 354.8 MB, free: 1.363 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-05/0.03309, allocations: 20.84 kB / 354.8 MB, free: 1.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.03311, allocations: 8.047 kB / 354.8 MB, free: 1.332 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005182/0.03363, allocations: 1.241 MB / 356.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.03363, allocations: 4.031 kB / 356.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004752/0.0341, allocations: 0.5492 MB / 356.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.03422, allocations: 95.73 kB / 356.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.03425, allocations: 8 kB / 356.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.0344, allocations: 27.91 kB / 356.7 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.03445, allocations: 23.91 kB / 356.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.03446, allocations: 16 kB / 356.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003576/0.03482, allocations: 463 kB / 357.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03482, allocations: 3.938 kB / 357.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003611/0.03518, allocations: 156 kB / 357.4 MB, free: 14.62 MB / 330.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.0001688/0.03535, allocations: 131.1 kB / 357.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005046/0.03585, allocations: 446.7 kB / 358 MB, free: 14.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.03585, allocations: 1.938 kB / 358 MB, free: 14.03 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.03605, allocations: 241.8 kB / 358.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/0.03655, allocations: 166.4 kB / 358.4 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.03812, allocations: 1.369 MB / 359.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.03834, allocations: 348.5 kB / 360.1 MB, free: 11.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.923e-05/0.03842, allocations: 48.5 kB / 360.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of SimCode: time 5.62e-07/0.03842, allocations: 4 kB / 360.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of Templates: time 0.01033/0.04875, allocations: 13.58 MB / 373.7 MB, free: 14.22 MB / 346.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] 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: 5.502015935257077]