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.001085/0.001085, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001162/0.001162, allocations: 159.4 kB / 25.45 MB, free: 9.352 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 0.9003/0.9003, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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 2.756e-06/2.756e-06, allocations: 0 / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.065e-05/3.34e-05, allocations: 5.938 kB / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.00699/0.007023, allocations: 7.099 MB / 306.8 MB, free: 15.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004662/0.01169, allocations: 2.491 MB / 309.3 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009653/0.01265, allocations: 27.88 kB / 309.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.01393, allocations: 0.5246 MB / 309.9 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.01496, allocations: 0.5117 MB / 310.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.01539, allocations: 251.6 kB / 310.6 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001419/0.01681, allocations: 1.54 MB / 312.2 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005354/0.01734, allocations: 371.2 kB / 312.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.01835, allocations: 0.8573 MB / 313.4 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005698/0.01892, allocations: 442.6 kB / 313.8 MB, free: 8.727 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.01906, allocations: 136 kB / 313.9 MB, free: 8.594 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002553/0.01931, allocations: 176 kB / 314.1 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.01945, allocations: 282.9 kB / 314.4 MB, free: 8.145 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003608/0.01981, allocations: 462.8 kB / 314.8 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.02127, allocations: 1.733 MB / 316.6 MB, free: 5.953 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.02128, allocations: 0 / 316.6 MB, free: 5.953 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.02128, allocations: 0 / 316.6 MB, free: 5.953 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.954e-05/0.02132, allocations: 3.938 kB / 316.6 MB, free: 5.949 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001826/0.02314, allocations: 1.396 MB / 318 MB, free: 4.516 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.02318, allocations: 15.98 kB / 318 MB, free: 4.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003886/0.02357, allocations: 196 kB / 318.2 MB, free: 4.309 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009056/0.02448, allocations: 0.6728 MB / 318.8 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.02452, allocations: 74 kB / 318.9 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.171e-05/0.02461, allocations: 99.95 kB / 319 MB, free: 3.438 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.02567, allocations: 1.039 MB / 320.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.02569, allocations: 0 / 320.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.107e-05/0.02574, allocations: 44 kB / 320.1 MB, free: 2.305 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.02576, allocations: 24 kB / 320.1 MB, free: 2.281 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007743/0.02653, allocations: 0.6325 MB / 320.8 MB, free: 1.645 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00339/0.02992, allocations: 3.362 MB / 324.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.03038, allocations: 335.6 kB / 324.4 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.03074, allocations: 253.3 kB / 324.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.03077, allocations: 8.312 kB / 324.7 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.03079, allocations: 38.89 kB / 324.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 3.507e-06/0.03079, allocations: 0 / 324.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.001776/0.03257, allocations: 1.238 MB / 326 MB, free: 12.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.03262, allocations: 85.09 kB / 326.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006773/0.03329, allocations: 0.762 MB / 326.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.03333, allocations: 29.7 kB / 326.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.03359, allocations: 0.5813 MB / 327.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.211e-05/0.03367, allocations: 174.5 kB / 327.6 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.03379, allocations: 134.6 kB / 327.7 MB, free: 10.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.03391, allocations: 382.8 kB / 328.1 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.03412, allocations: 165.9 kB / 328.3 MB, free: 9.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.03444, allocations: 485.7 kB / 328.7 MB, free: 9.207 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006892/0.03513, allocations: 0.6624 MB / 329.4 MB, free: 8.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.03513, allocations: 0 / 329.4 MB, free: 8.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0008167/0.03595, allocations: 0.7557 MB / 330.2 MB, free: 7.645 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.03597, allocations: 8 kB / 330.2 MB, free: 7.637 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.03598, allocations: 12 kB / 330.2 MB, free: 7.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001947/0.03617, allocations: 85.92 kB / 330.3 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.03644, allocations: 151.7 kB / 330.4 MB, free: 7.387 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.03802, allocations: 2.878 MB / 333.3 MB, free: 4.301 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/0.03835, allocations: 35.94 kB / 333.3 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.03838, allocations: 32 kB / 333.4 MB, free: 4.234 MB / 314.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.0003087/0.03869, allocations: 257.9 kB / 333.6 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.924e-05/0.03877, allocations: 87.47 kB / 333.7 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005774/0.03934, allocations: 486.7 kB / 334.2 MB, free: 3.398 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.03935, allocations: 4 kB / 334.2 MB, free: 3.395 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.03935, allocations: 7.984 kB / 334.2 MB, free: 3.387 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.03936, allocations: 3.938 kB / 334.2 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.04061, allocations: 1.193 MB / 335.4 MB, free: 2.125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.04061, allocations: 3.938 kB / 335.4 MB, free: 2.121 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.04078, allocations: 76.06 kB / 335.5 MB, free: 2.047 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001289/0.04091, allocations: 73.67 kB / 335.5 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.04092, allocations: 8 kB / 335.5 MB, free: 1.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.04245, allocations: 2.866 MB / 338.4 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.04246, allocations: 4 kB / 338.4 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007235/0.04318, allocations: 0.7637 MB / 339.2 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.04336, allocations: 115.5 kB / 339.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.946e-05/0.04343, allocations: 8 kB / 339.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.04365, allocations: 27.98 kB / 339.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/0.04372, allocations: 39.88 kB / 339.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.04374, allocations: 12 kB / 339.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004378/0.04417, allocations: 0.5107 MB / 339.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04417, allocations: 0 / 339.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000566/0.04474, allocations: 199.9 kB / 340.1 MB, free: 13.18 MB / 330.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.0001968/0.04494, allocations: 127 kB / 340.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000778/0.04572, allocations: 0.6743 MB / 340.9 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.04572, allocations: 0 / 340.9 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003572/0.04607, allocations: 425.4 kB / 341.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.04665, allocations: 207.8 kB / 341.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.0487, allocations: 1.663 MB / 343.2 MB, free: 9.977 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.04898, allocations: 417.7 kB / 343.6 MB, free: 9.539 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.97e-05/0.04908, allocations: 56.5 kB / 343.6 MB, free: 9.484 MB / 330.7 MB Notification: Performance of SimCode: time 1.473e-06/0.04908, allocations: 0 / 343.6 MB, free: 9.484 MB / 330.7 MB Notification: Performance of Templates: time 0.1285/0.1776, allocations: 20.96 MB / 364.6 MB, free: 56.82 MB / 330.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: 5.913408477790654]