Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001666/0.001666, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002176/0.002176, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 258.2 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 43.92 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2215, allocations: 53.36 MB / 432.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009337/0.2309, allocations: 7.153 MB / 439.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004358/0.2352, allocations: 2.494 MB / 442 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005123/0.2357, allocations: 27.88 kB / 442 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.2371, allocations: 0.5161 MB / 442.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.2381, allocations: 0.5002 MB / 443 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.2385, allocations: 251.7 kB / 443.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001502/0.24, allocations: 1.473 MB / 444.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006441/0.2407, allocations: 407.2 kB / 445.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007786/0.2415, allocations: 0.5759 MB / 445.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007099/0.2422, allocations: 0.5988 MB / 446.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001774/0.2423, allocations: 136 kB / 446.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000336/0.2427, allocations: 176 kB / 446.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.243, allocations: 283 kB / 446.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000563/0.2435, allocations: 0.5327 MB / 447.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.2455, allocations: 1.747 MB / 449.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2455, allocations: 0 / 449.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2455, allocations: 0 / 449.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.2455, allocations: 0 / 449.2 MB, free: 5.75 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002624/0.2481, allocations: 1.4 MB / 450.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2482, allocations: 8.031 kB / 450.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007234/0.2489, allocations: 200 kB / 450.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.2502, allocations: 0.6805 MB / 451.5 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.439e-05/0.2503, allocations: 78 kB / 451.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.2504, allocations: 104 kB / 451.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.2522, allocations: 1.031 MB / 452.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/0.2522, allocations: 4 kB / 452.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.644e-05/0.2523, allocations: 40 kB / 452.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.2523, allocations: 24 kB / 452.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.2536, allocations: 0.6363 MB / 453.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005206/0.2588, allocations: 3.346 MB / 456.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006977/0.2595, allocations: 343.4 kB / 457.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006/0.2601, allocations: 249.3 kB / 457.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.2602, allocations: 16.31 kB / 457.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.2602, allocations: 34.89 kB / 457.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.124e-06/0.2602, allocations: 0 / 457.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002886/0.2631, allocations: 1.253 MB / 458.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/0.2632, allocations: 85.11 kB / 458.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.2643, allocations: 0.7543 MB / 459.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.2643, allocations: 33.7 kB / 459.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004847/0.2648, allocations: 0.5852 MB / 460.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.2649, allocations: 166.6 kB / 460.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.2651, allocations: 130.6 kB / 460.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.2654, allocations: 386.8 kB / 460.7 MB, free: 9.773 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.2657, allocations: 165.9 kB / 460.9 MB, free: 9.609 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006298/0.2663, allocations: 489.6 kB / 461.4 MB, free: 8.992 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.2674, allocations: 0.6622 MB / 462 MB, free: 8.195 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2674, allocations: 3.938 kB / 462 MB, free: 8.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001529/0.2689, allocations: 0.7634 MB / 462.8 MB, free: 7.418 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.2689, allocations: 12 kB / 462.8 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.2689, allocations: 8 kB / 462.8 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003015/0.2692, allocations: 89.67 kB / 462.9 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005289/0.2698, allocations: 151.7 kB / 463.1 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/0.2724, allocations: 2.874 MB / 465.9 MB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006443/0.2731, allocations: 40.16 kB / 466 MB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.612e-05/0.2731, allocations: 36.12 kB / 466 MB, free: 4.004 MB / 366.1 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.0004218/0.2736, allocations: 257.6 kB / 466.3 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.2737, allocations: 91.41 kB / 466.3 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.2747, allocations: 490.6 kB / 466.8 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.2748, allocations: 7.938 kB / 466.8 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2748, allocations: 0 / 466.8 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2748, allocations: 4 kB / 466.8 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.277, allocations: 1.185 MB / 468 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.277, allocations: 0 / 468 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.2773, allocations: 71.95 kB / 468.1 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002334/0.2775, allocations: 73.88 kB / 468.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.2776, allocations: 16 kB / 468.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/0.2802, allocations: 2.866 MB / 471 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2802, allocations: 0 / 471 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.2817, allocations: 0.7668 MB / 471.8 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003313/0.282, allocations: 115.4 kB / 471.9 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.997e-05/0.2821, allocations: 12 kB / 471.9 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004275/0.2825, allocations: 19.98 kB / 472 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.2826, allocations: 39.88 kB / 472 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.2827, allocations: 12 kB / 472 MB, free: 13.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007665/0.2834, allocations: 0.5069 MB / 472.5 MB, free: 13.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2834, allocations: 0 / 472.5 MB, free: 13.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008792/0.2843, allocations: 204 kB / 472.7 MB, free: 12.95 MB / 382.1 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.0002109/0.2845, allocations: 135.2 kB / 472.8 MB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.2858, allocations: 0.6634 MB / 473.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2858, allocations: 0 / 473.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000723/0.2865, allocations: 441.5 kB / 473.9 MB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.2876, allocations: 204.5 kB / 474.1 MB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.2906, allocations: 1.725 MB / 475.9 MB, free: 9.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.291, allocations: 413.6 kB / 476.3 MB, free: 9.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000357/0.2914, allocations: 94.67 kB / 476.4 MB, free: 9.164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.2915, allocations: 55.44 kB / 476.4 MB, free: 9.109 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2915, allocations: 0 / 476.4 MB, free: 9.109 MB / 382.1 MB Notification: Performance of Templates: time 0.0216/0.3131, allocations: 11.72 MB / 488.1 MB, free: 13.61 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.010096330996021]