Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.001594/0.001594, allocations: 114.1 kB / 20.89 MB, free: 1.117 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.001541/0.001541, allocations: 194.4 kB / 24.12 MB, free: 4.574 MB / 14.72 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.361/1.361, allocations: 207.6 MB / 234.8 MB, free: 11.03 MB / 190.1 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.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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 58.73 kB / 346.9 MB, free: 10.1 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2246, allocations: 49.13 MB / 396.1 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.007122/0.2317, allocations: 7.148 MB / 403.2 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003581/0.2353, allocations: 2.411 MB / 405.6 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007776/0.2361, allocations: 20.47 kB / 405.6 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.2373, allocations: 0.5109 MB / 406.2 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007758/0.2381, allocations: 411.8 kB / 406.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.2384, allocations: 210.6 kB / 406.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009711/0.2394, allocations: 1.198 MB / 408 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004385/0.2398, allocations: 343.6 kB / 408.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000408/0.2402, allocations: 464.6 kB / 408.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004525/0.2407, allocations: 0.4911 MB / 409.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.2408, allocations: 114.1 kB / 409.4 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002615/0.2411, allocations: 149.3 kB / 409.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.2412, allocations: 229.6 kB / 409.7 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003936/0.2416, allocations: 0.5439 MB / 410.3 MB, free: 328 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.243, allocations: 1.44 MB / 411.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.243, allocations: 4 kB / 411.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.243, allocations: 0 / 411.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.243, allocations: 0 / 411.7 MB, free: 15.57 MB / 334.1 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.00214/0.2452, allocations: 1.277 MB / 413 MB, free: 14.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.2452, allocations: 13.14 kB / 413 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005034/0.2457, allocations: 149.6 kB / 413.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.2468, allocations: 0.6583 MB / 413.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/0.2469, allocations: 57.97 kB / 413.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.247, allocations: 76.47 kB / 413.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.2483, allocations: 0.7841 MB / 414.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.2484, allocations: 9.047 kB / 414.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.79e-05/0.2484, allocations: 36.22 kB / 414.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.2485, allocations: 19.44 kB / 414.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.2495, allocations: 0.5141 MB / 415.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004278/0.2538, allocations: 3.379 MB / 418.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.2543, allocations: 222.3 kB / 418.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.2546, allocations: 106.1 kB / 419 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.2546, allocations: 6.875 kB / 419 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.2546, allocations: 40.03 kB / 419 MB, free: 9.926 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.2546, allocations: 0 / 419 MB, free: 9.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.002035/0.2566, allocations: 1.055 MB / 420.1 MB, free: 9.148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.2567, allocations: 84.55 kB / 420.2 MB, free: 9.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009993/0.2577, allocations: 0.7371 MB / 420.9 MB, free: 8.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.2577, allocations: 30.77 kB / 421 MB, free: 8.586 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003998/0.2581, allocations: 0.5038 MB / 421.5 MB, free: 8.129 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.728e-05/0.2582, allocations: 114.3 kB / 421.6 MB, free: 8.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.2584, allocations: 113 kB / 421.7 MB, free: 7.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.2586, allocations: 381.1 kB / 422.1 MB, free: 7.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.2589, allocations: 123.4 kB / 422.2 MB, free: 7.535 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/0.2594, allocations: 416.3 kB / 422.6 MB, free: 7.082 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008363/0.2602, allocations: 0.5772 MB / 423.2 MB, free: 6.531 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2602, allocations: 2.906 kB / 423.2 MB, free: 6.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001066/0.2613, allocations: 0.6139 MB / 423.8 MB, free: 6.203 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2613, allocations: 8.938 kB / 423.8 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.2613, allocations: 9.844 kB / 423.8 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001435/0.2615, allocations: 34.34 kB / 423.8 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.2619, allocations: 138.2 kB / 424 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.2631, allocations: 1.404 MB / 425.4 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004194/0.2635, allocations: 30.2 kB / 425.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.2635, allocations: 28.94 kB / 425.4 MB, free: 4.688 MB / 334.1 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.0002929/0.2638, allocations: 237.3 kB / 425.7 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.2639, allocations: 76.2 kB / 425.7 MB, free: 4.449 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006702/0.2646, allocations: 322.6 kB / 426 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2646, allocations: 1 kB / 426 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2646, allocations: 0 / 426 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.2648, allocations: 175.5 kB / 426.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.696e-05/0.2649, allocations: 6.25 kB / 426.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.2652, allocations: 21.5 kB / 426.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.2653, allocations: 24.78 kB / 426.3 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007926/0.2661, allocations: 357 kB / 426.6 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008861/0.267, allocations: 0.5826 MB / 427.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002143/0.2672, allocations: 87.47 kB / 427.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006857/0.2679, allocations: 0.502 MB / 427.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of Backend: time 4.51e-07/0.2679, allocations: 1.125 kB / 427.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.269, allocations: 477.7 kB / 428.3 MB, free: 2.637 MB / 334.1 MB Notification: Performance of SimCode: time 0.00286/0.2719, allocations: 1.999 MB / 430.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of Templates: time 0.01746/0.2894, allocations: 9.106 MB / 439.4 MB, free: 7.465 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.538466014957521]