Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 92.31 kB / 21.73 MB, free: 2.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 157.3 kB / 25.02 MB, free: 8.961 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.562e-05, allocations: 2.312 kB / 250.4 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01113/0.01116, allocations: 7.091 MB / 257.5 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005205/0.01637, allocations: 2.502 MB / 260 MB, free: 14.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008076/0.01717, allocations: 27.88 kB / 260 MB, free: 14.14 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.01871, allocations: 0.5284 MB / 260.5 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.01997, allocations: 0.5117 MB / 261 MB, free: 13.09 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.02051, allocations: 255.6 kB / 261.3 MB, free: 12.84 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002078/0.02258, allocations: 1.532 MB / 262.8 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006959/0.02328, allocations: 367.2 kB / 263.2 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.02454, allocations: 0.8573 MB / 264 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006749/0.02521, allocations: 438.6 kB / 264.5 MB, free: 9.625 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.02541, allocations: 140 kB / 264.6 MB, free: 9.488 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/0.02576, allocations: 183.9 kB / 264.8 MB, free: 9.309 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.02602, allocations: 286.8 kB / 265.1 MB, free: 9.027 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005736/0.0266, allocations: 474.8 kB / 265.5 MB, free: 8.562 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002181/0.02878, allocations: 1.717 MB / 267.2 MB, free: 6.84 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.02878, allocations: 4 kB / 267.2 MB, free: 6.836 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.02878, allocations: 0 / 267.2 MB, free: 6.836 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.221e-05/0.02881, allocations: 0 / 267.2 MB, free: 6.836 MB / 250.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.002688/0.03149, allocations: 1.399 MB / 268.6 MB, free: 5.402 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.03153, allocations: 11.98 kB / 268.7 MB, free: 5.391 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008105/0.03234, allocations: 276 kB / 268.9 MB, free: 5.121 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.03403, allocations: 0.6963 MB / 269.6 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.629e-05/0.03411, allocations: 74 kB / 269.7 MB, free: 4.324 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.03428, allocations: 107.9 kB / 269.8 MB, free: 4.219 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.03619, allocations: 1.027 MB / 270.8 MB, free: 3.137 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/0.03622, allocations: 7.984 kB / 270.8 MB, free: 3.129 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.311e-05/0.03632, allocations: 40 kB / 270.9 MB, free: 3.09 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/0.03635, allocations: 27.98 kB / 270.9 MB, free: 3.062 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.03771, allocations: 0.6325 MB / 271.5 MB, free: 2.43 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005536/0.04324, allocations: 3.417 MB / 275 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007367/0.04398, allocations: 347.4 kB / 275.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006415/0.04462, allocations: 249.3 kB / 275.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.04465, allocations: 8.328 kB / 275.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.04469, allocations: 34.89 kB / 275.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.994e-06/0.04469, allocations: 0 / 275.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.003103/0.0478, allocations: 1.264 MB / 276.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.04787, allocations: 81.11 kB / 276.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.04902, allocations: 0.762 MB / 277.7 MB, free: 12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.04906, allocations: 37.7 kB / 277.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005383/0.0496, allocations: 0.5813 MB / 278.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.04975, allocations: 162.6 kB / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.04997, allocations: 126.6 kB / 278.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002551/0.05022, allocations: 394.7 kB / 279 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.05059, allocations: 165.9 kB / 279.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000671/0.05126, allocations: 481.7 kB / 279.6 MB, free: 9.914 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.05231, allocations: 0.6585 MB / 280.3 MB, free: 9.121 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.05232, allocations: 4 kB / 280.3 MB, free: 9.117 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001522/0.05384, allocations: 0.7946 MB / 281.1 MB, free: 8.312 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.05387, allocations: 12 kB / 281.1 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.05388, allocations: 8 kB / 281.1 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003442/0.05423, allocations: 85.92 kB / 281.2 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/0.05475, allocations: 151.8 kB / 281.3 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/0.05793, allocations: 2.881 MB / 284.2 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006036/0.05854, allocations: 39.94 kB / 284.2 MB, free: 4.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.05859, allocations: 32 kB / 284.3 MB, free: 4.898 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.0004883/0.05908, allocations: 249.6 kB / 284.5 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.05925, allocations: 103.5 kB / 284.6 MB, free: 4.543 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.06034, allocations: 486.5 kB / 285.1 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.06035, allocations: 4 kB / 285.1 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.06036, allocations: 4 kB / 285.1 MB, free: 4.039 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.06037, allocations: 7.922 kB / 285.1 MB, free: 4.031 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.06263, allocations: 1.197 MB / 286.3 MB, free: 2.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.06264, allocations: 0 / 286.3 MB, free: 2.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.06298, allocations: 80.06 kB / 286.4 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002634/0.06324, allocations: 77.73 kB / 286.4 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.06327, allocations: 12 kB / 286.5 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003028/0.0663, allocations: 2.862 MB / 289.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.06631, allocations: 4.031 kB / 289.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.06781, allocations: 0.7755 MB / 290.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/0.0681, allocations: 115.4 kB / 290.2 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.078e-05/0.06819, allocations: 16 kB / 290.2 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004142/0.0686, allocations: 24.12 kB / 290.3 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.06871, allocations: 39.92 kB / 290.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.06875, allocations: 16.12 kB / 290.3 MB, free: 14.51 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009394/0.06969, allocations: 0.5029 MB / 290.8 MB, free: 14.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06969, allocations: 0 / 290.8 MB, free: 14.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008905/0.07058, allocations: 207.9 kB / 291 MB, free: 13.81 MB / 282.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.0002502/0.07083, allocations: 135 kB / 291.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.07211, allocations: 0.672 MB / 291.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.07212, allocations: 3.984 kB / 291.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007263/0.07285, allocations: 427.3 kB / 292.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.07386, allocations: 202.5 kB / 292.4 MB, free: 12.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/0.07688, allocations: 1.654 MB / 294.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.07738, allocations: 417.5 kB / 294.5 MB, free: 10.17 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003539/0.07773, allocations: 98.69 kB / 294.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.07787, allocations: 60.48 kB / 294.7 MB, free: 10.01 MB / 282.7 MB Notification: Performance of SimCode: time 6.92e-07/0.07788, allocations: 0 / 294.7 MB, free: 10.01 MB / 282.7 MB Notification: Performance of Templates: time 0.02072/0.0986, allocations: 10.06 MB / 304.7 MB, free: 15.98 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.846328994026408]