Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.002573/0.002573, allocations: 99.86 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002862/0.002862, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 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.557/1.557, allocations: 173.3 MB / 200.8 MB, free: 9.34 MB / 186.7 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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.2e-06/5.2e-06, allocations: 4 kB / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.788e-05, allocations: 2.312 kB / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01144/0.01147, allocations: 7.985 MB / 275.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005369/0.01683, allocations: 2.575 MB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000858/0.01769, allocations: 27.88 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.01938, allocations: 0.5323 MB / 278.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.02087, allocations: 0.5116 MB / 279 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.02141, allocations: 251.7 kB / 279.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002028/0.02344, allocations: 1.535 MB / 280.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007094/0.02415, allocations: 371.2 kB / 281.1 MB, free: 8.891 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.02553, allocations: 0.8651 MB / 282 MB, free: 8.023 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007739/0.02631, allocations: 478.6 kB / 282.4 MB, free: 7.555 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002164/0.02652, allocations: 140 kB / 282.6 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003755/0.0269, allocations: 179.9 kB / 282.7 MB, free: 7.242 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002817/0.02718, allocations: 286.9 kB / 283 MB, free: 6.961 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006201/0.0278, allocations: 470.9 kB / 283.5 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002599/0.0304, allocations: 1.729 MB / 285.2 MB, free: 4.766 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.0304, allocations: 3.938 kB / 285.2 MB, free: 4.762 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.107e-06/0.03041, allocations: 3.984 kB / 285.2 MB, free: 4.758 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.889e-05/0.03044, allocations: 0 / 285.2 MB, free: 4.758 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002938/0.03338, allocations: 1.605 MB / 286.8 MB, free: 3.113 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.03342, allocations: 8.031 kB / 286.8 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008233/0.03424, allocations: 272 kB / 287.1 MB, free: 2.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.03569, allocations: 0.7068 MB / 287.8 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.67e-05/0.03577, allocations: 70 kB / 287.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.03593, allocations: 100 kB / 288 MB, free: 1.941 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.03786, allocations: 1.097 MB / 289.1 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/0.0379, allocations: 7.953 kB / 289.1 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.962e-05/0.03799, allocations: 40 kB / 289.1 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.03801, allocations: 28 kB / 289.1 MB, free: 0.707 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.03933, allocations: 0.6129 MB / 289.8 MB, free: 96 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09778/0.1371, allocations: 4.699 MB / 294.5 MB, free: 29.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005923/0.1377, allocations: 350 kB / 294.8 MB, free: 29.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005323/0.1382, allocations: 254.1 kB / 295 MB, free: 29.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.1383, allocations: 7.422 kB / 295.1 MB, free: 29.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.1383, allocations: 44.84 kB / 295.1 MB, free: 29.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.044e-06/0.1383, allocations: 0 / 295.1 MB, free: 29.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.00225/0.1405, allocations: 1.25 MB / 296.3 MB, free: 29.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.1406, allocations: 86.64 kB / 296.4 MB, free: 28.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.1416, allocations: 0.9787 MB / 297.4 MB, free: 28.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.1417, allocations: 36.27 kB / 297.4 MB, free: 28.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000318/0.142, allocations: 0.6856 MB / 298.1 MB, free: 27.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.988e-05/0.1421, allocations: 167.5 kB / 298.3 MB, free: 27.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.1422, allocations: 160.4 kB / 298.5 MB, free: 27.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1424, allocations: 0.6126 MB / 299.1 MB, free: 27.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.1427, allocations: 157.5 kB / 299.2 MB, free: 27.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004089/0.1431, allocations: 0.6171 MB / 299.8 MB, free: 26.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006914/0.1438, allocations: 0.785 MB / 300.6 MB, free: 25.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.1438, allocations: 5.031 kB / 300.6 MB, free: 25.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001164/0.145, allocations: 0.7908 MB / 301.4 MB, free: 25.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.145, allocations: 10.56 kB / 301.4 MB, free: 25.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.145, allocations: 18.25 kB / 301.4 MB, free: 25.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003034/0.1453, allocations: 93.27 kB / 301.5 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/0.1458, allocations: 154.9 kB / 301.7 MB, free: 25.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.1476, allocations: 4.025 MB / 305.7 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/0.148, allocations: 27.41 kB / 305.7 MB, free: 21.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.264e-05/0.1481, allocations: 34.91 kB / 305.8 MB, free: 21.43 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002935/0.1484, allocations: 304.3 kB / 306.1 MB, free: 21.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.1485, allocations: 102.8 kB / 306.2 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007959/0.1493, allocations: 471.7 kB / 306.6 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.1493, allocations: 5.5 kB / 306.6 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1493, allocations: 1.984 kB / 306.6 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1493, allocations: 1.922 kB / 306.6 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.1513, allocations: 1.524 MB / 308.2 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1513, allocations: 1.25 kB / 308.2 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.1516, allocations: 66 kB / 308.2 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002112/0.1518, allocations: 88.08 kB / 308.3 MB, free: 19.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.1518, allocations: 12.39 kB / 308.3 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/0.1534, allocations: 4.014 MB / 312.3 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1534, allocations: 3.938 kB / 312.3 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009587/0.1544, allocations: 0.8369 MB / 313.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.1546, allocations: 112 kB / 313.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.009e-05/0.1547, allocations: 15.98 kB / 313.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/0.1551, allocations: 22.48 kB / 313.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.1551, allocations: 35.28 kB / 313.4 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.1552, allocations: 16.06 kB / 313.4 MB, free: 15.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005927/0.1558, allocations: 0.5995 MB / 314 MB, free: 15.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1558, allocations: 0 / 314 MB, free: 15.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007438/0.1565, allocations: 204.6 kB / 314.2 MB, free: 14.93 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (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.0001846/0.1567, allocations: 120.3 kB / 314.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00094/0.1576, allocations: 0.8225 MB / 315.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1576, allocations: 256 / 315.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005023/0.1581, allocations: 0.5593 MB / 315.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009201/0.1591, allocations: 197.6 kB / 315.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.1611, allocations: 1.691 MB / 317.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.1614, allocations: 416.2 kB / 318 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002786/0.1617, allocations: 94.69 kB / 318.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.1618, allocations: 60.48 kB / 318.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1618, allocations: 3.938 kB / 318.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of Templates: time 0.01601/0.1778, allocations: 10.08 MB / 328.2 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.159315147087909]