Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.001959/0.001959, allocations: 72.06 kB / 21.24 MB, free: 0.5391 MB / 14.72 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.002281/0.002281, allocations: 155.5 kB / 24.49 MB, free: 3.711 MB / 14.72 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.403/1.403, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 179] 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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 46.8 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.09147, allocations: 52.15 MB / 371.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009305/0.1008, allocations: 7.057 MB / 378.6 MB, free: 248 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003941/0.1047, allocations: 2.412 MB / 381 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004416/0.1052, allocations: 31.88 kB / 381.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.1065, allocations: 0.513 MB / 381.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009884/0.1075, allocations: 492.4 kB / 382.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.108, allocations: 239.7 kB / 382.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00158/0.1096, allocations: 1.443 MB / 383.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006372/0.1102, allocations: 371.3 kB / 384.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006903/0.1109, allocations: 0.5603 MB / 384.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006807/0.1116, allocations: 0.5013 MB / 385.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.1118, allocations: 136 kB / 385.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003145/0.1121, allocations: 168 kB / 385.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.1123, allocations: 282.9 kB / 385.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000569/0.1129, allocations: 0.525 MB / 386.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002177/0.1151, allocations: 1.712 MB / 388 MB, free: 6.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1151, allocations: 0 / 388 MB, free: 6.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1151, allocations: 0 / 388 MB, free: 6.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.1151, allocations: 0 / 388 MB, free: 6.84 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002352/0.1174, allocations: 1.388 MB / 389.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1175, allocations: 12.92 kB / 389.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005652/0.118, allocations: 176 kB / 389.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.1193, allocations: 0.665 MB / 390.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.353e-05/0.1193, allocations: 74 kB / 390.3 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.1195, allocations: 96 kB / 390.4 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.1211, allocations: 0.9943 MB / 391.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/0.1212, allocations: 7.953 kB / 391.4 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/0.1213, allocations: 43.98 kB / 391.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.1213, allocations: 24 kB / 391.5 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.1226, allocations: 0.6246 MB / 392.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004748/0.1273, allocations: 3.345 MB / 395.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005688/0.1279, allocations: 264.6 kB / 395.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.1282, allocations: 136.8 kB / 395.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.1282, allocations: 7.938 kB / 395.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.1282, allocations: 46.42 kB / 395.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.684e-06/0.1282, allocations: 0 / 395.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002255/0.1305, allocations: 1.049 MB / 396.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/0.1306, allocations: 85.09 kB / 397 MB, free: 13.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.1316, allocations: 0.7465 MB / 397.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.1316, allocations: 37.7 kB / 397.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004668/0.1321, allocations: 0.5927 MB / 398.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.1322, allocations: 134.8 kB / 398.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.1324, allocations: 126.6 kB / 398.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.1326, allocations: 382.8 kB / 399 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.1329, allocations: 153.9 kB / 399.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006026/0.1335, allocations: 481.9 kB / 399.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009753/0.1345, allocations: 0.6366 MB / 400.3 MB, free: 9.832 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.1345, allocations: 4 kB / 400.3 MB, free: 9.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001241/0.1357, allocations: 0.6812 MB / 400.9 MB, free: 9.137 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1358, allocations: 8 kB / 401 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.1358, allocations: 12 kB / 401 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/0.1359, allocations: 32.8 kB / 401 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005157/0.1365, allocations: 159.7 kB / 401.2 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.1376, allocations: 1.268 MB / 402.4 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004451/0.1381, allocations: 39.92 kB / 402.5 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/0.1381, allocations: 36 kB / 402.5 MB, free: 7.484 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * 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.0003485/0.1385, allocations: 249.8 kB / 402.7 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.1386, allocations: 79.53 kB / 402.8 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007684/0.1394, allocations: 369.2 kB / 403.2 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.1394, allocations: 8.031 kB / 403.2 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1394, allocations: 7.938 kB / 403.2 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1394, allocations: 0 / 403.2 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.1411, allocations: 1.036 MB / 404.2 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1411, allocations: 0 / 404.2 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.1415, allocations: 75.89 kB / 404.3 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.911e-05/0.1416, allocations: 20.8 kB / 404.3 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.1416, allocations: 15.98 kB / 404.3 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.1426, allocations: 1.245 MB / 405.6 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1426, allocations: 3.984 kB / 405.6 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.1437, allocations: 0.6214 MB / 406.2 MB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.144, allocations: 111.4 kB / 406.3 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.83e-05/0.1441, allocations: 11.98 kB / 406.3 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.1444, allocations: 19.98 kB / 406.3 MB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/0.1445, allocations: 31.89 kB / 406.4 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.1445, allocations: 16 kB / 406.4 MB, free: 3.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000704/0.1452, allocations: 0.5068 MB / 406.9 MB, free: 2.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1452, allocations: 0 / 406.9 MB, free: 2.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000683/0.1459, allocations: 187.9 kB / 407.1 MB, free: 2.656 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.0001949/0.1461, allocations: 123.1 kB / 407.2 MB, free: 2.527 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009772/0.1471, allocations: 0.4924 MB / 407.7 MB, free: 2.023 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1471, allocations: 0 / 407.7 MB, free: 2.023 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004407/0.1475, allocations: 255.4 kB / 407.9 MB, free: 1.762 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009249/0.1484, allocations: 179 kB / 408.1 MB, free: 1.586 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.1513, allocations: 1.71 MB / 409.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.1517, allocations: 408.7 kB / 410.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003031/0.152, allocations: 90.3 kB / 410.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.1522, allocations: 52.5 kB / 410.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1522, allocations: 0 / 410.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of Templates: time 0.01867/0.1708, allocations: 8.982 MB / 419.4 MB, free: 6.457 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.629650471964851]