Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001732/0.001732, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002174/0.002174, allocations: 204.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 59.91 kB / 378.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2557, allocations: 53.42 MB / 431.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01007/0.2658, allocations: 7.278 MB / 438.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00485/0.2706, allocations: 2.564 MB / 441.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005875/0.2712, allocations: 31.81 kB / 441.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.2726, allocations: 0.517 MB / 442 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.2737, allocations: 0.5041 MB / 442.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.2742, allocations: 271.7 kB / 442.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001682/0.2759, allocations: 1.509 MB / 444.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006347/0.2765, allocations: 378 kB / 444.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007648/0.2773, allocations: 0.5914 MB / 445.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000704/0.278, allocations: 0.5207 MB / 445.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.2782, allocations: 144 kB / 445.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003515/0.2785, allocations: 180 kB / 446.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002569/0.2788, allocations: 290.9 kB / 446.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005677/0.2794, allocations: 0.5483 MB / 446.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.2813, allocations: 1.778 MB / 448.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2813, allocations: 3.938 kB / 448.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2813, allocations: 0 / 448.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.2813, allocations: 0 / 448.7 MB, free: 5.352 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002562/0.2839, allocations: 1.438 MB / 450.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2839, allocations: 19.98 kB / 450.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007389/0.2847, allocations: 204 kB / 450.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.286, allocations: 0.6931 MB / 451.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.796e-05/0.2861, allocations: 70 kB / 451.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.2863, allocations: 104 kB / 451.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.2881, allocations: 1.043 MB / 452.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.119e-05/0.2881, allocations: 11.98 kB / 452.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.879e-05/0.2882, allocations: 40 kB / 452.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.2883, allocations: 31.94 kB / 452.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.2896, allocations: 0.6442 MB / 453 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005032/0.2946, allocations: 3.377 MB / 456.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007088/0.2953, allocations: 350 kB / 456.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006402/0.2959, allocations: 265.3 kB / 457 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.296, allocations: 4 kB / 457 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.296, allocations: 42.56 kB / 457 MB, free: 12.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 1.783e-06/0.296, allocations: 0 / 457 MB, free: 12.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.002959/0.299, allocations: 1.328 MB / 458.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.299, allocations: 81.11 kB / 458.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.3001, allocations: 0.7818 MB / 459.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.3001, allocations: 33.7 kB / 459.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004491/0.3006, allocations: 0.5968 MB / 459.9 MB, free: 9.809 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.3007, allocations: 170.6 kB / 460 MB, free: 9.641 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.3009, allocations: 130.6 kB / 460.2 MB, free: 9.508 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.3011, allocations: 386.8 kB / 460.5 MB, free: 9.121 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003773/0.3015, allocations: 177.9 kB / 460.7 MB, free: 8.945 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006251/0.3021, allocations: 497.3 kB / 461.2 MB, free: 8.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.3031, allocations: 0.6721 MB / 461.9 MB, free: 7.516 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.3031, allocations: 8 kB / 461.9 MB, free: 7.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001422/0.3046, allocations: 0.7795 MB / 462.6 MB, free: 6.715 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3046, allocations: 8 kB / 462.7 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.3046, allocations: 12 kB / 462.7 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002644/0.3049, allocations: 77.88 kB / 462.7 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005335/0.3054, allocations: 163.7 kB / 462.9 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/0.308, allocations: 2.885 MB / 465.8 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00056/0.3086, allocations: 39.94 kB / 465.8 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.3086, allocations: 32 kB / 465.9 MB, free: 3.293 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 (85): * 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: 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.0004119/0.309, allocations: 265.5 kB / 466.1 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.3092, allocations: 83.48 kB / 466.2 MB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.3102, allocations: 0.5065 MB / 466.7 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.3102, allocations: 7.938 kB / 466.7 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3102, allocations: 0 / 466.7 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3102, allocations: 4 kB / 466.7 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.3123, allocations: 1.224 MB / 467.9 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.3123, allocations: 4 kB / 467.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003374/0.3127, allocations: 80.11 kB / 468 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002124/0.3129, allocations: 69.67 kB / 468.1 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.3129, allocations: 12 kB / 468.1 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/0.3154, allocations: 2.858 MB / 471 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.3154, allocations: 7.922 kB / 471 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.3168, allocations: 0.8059 MB / 471.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002868/0.3171, allocations: 119.5 kB / 471.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.374e-05/0.3172, allocations: 8 kB / 471.9 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004363/0.3177, allocations: 35.97 kB / 471.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.225e-05/0.3177, allocations: 39.81 kB / 472 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.3178, allocations: 16 kB / 472 MB, free: 12.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007461/0.3185, allocations: 0.5147 MB / 472.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3185, allocations: 0 / 472.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008348/0.3193, allocations: 208 kB / 472.7 MB, free: 12.1 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 (39): * Single equations (assignments): 37 * 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.0002137/0.3196, allocations: 131.1 kB / 472.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.3208, allocations: 0.6852 MB / 473.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3208, allocations: 0 / 473.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007201/0.3215, allocations: 451.2 kB / 474 MB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009989/0.3225, allocations: 204.6 kB / 474.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.3256, allocations: 1.753 MB / 475.9 MB, free: 8.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.3261, allocations: 430.3 kB / 476.3 MB, free: 8.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003598/0.3265, allocations: 98.75 kB / 476.4 MB, free: 8.234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.3266, allocations: 55.42 kB / 476.5 MB, free: 8.18 MB / 382.1 MB Notification: Performance of SimCode: time 5.72e-07/0.3266, allocations: 0 / 476.5 MB, free: 8.18 MB / 382.1 MB Notification: Performance of Templates: time 0.02468/0.3513, allocations: 11.74 MB / 488.2 MB, free: 12.64 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.9252227414399385]