Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.002046/0.002046, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002195/0.002195, allocations: 210.7 kB / 24.48 MB, free: 3.977 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.72/1.72, allocations: 230.6 MB / 258.2 MB, free: 7.797 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_SinglePhase,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_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 51.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4557/0.4574, allocations: 53.37 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01063/0.468, allocations: 7.274 MB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005581/0.4736, allocations: 2.564 MB / 442.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.4746, allocations: 31.81 kB / 442.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.4764, allocations: 0.5239 MB / 442.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.4781, allocations: 0.5002 MB / 443.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007346/0.4788, allocations: 271.7 kB / 443.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002305/0.4811, allocations: 1.502 MB / 445 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007761/0.4819, allocations: 411.3 kB / 445.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.4829, allocations: 0.5953 MB / 446 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008075/0.4837, allocations: 0.6028 MB / 446.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.4839, allocations: 143.9 kB / 446.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003887/0.4843, allocations: 184 kB / 446.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.4845, allocations: 286.9 kB / 447.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000617/0.4852, allocations: 0.5483 MB / 447.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.4874, allocations: 1.778 MB / 449.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4874, allocations: 3.938 kB / 449.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4874, allocations: 0 / 449.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.45e-05/0.4874, allocations: 4 kB / 449.5 MB, free: 5.457 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.002703/0.4901, allocations: 1.438 MB / 451 MB, free: 3.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.4902, allocations: 8.031 kB / 451 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008306/0.491, allocations: 212 kB / 451.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.4924, allocations: 0.6814 MB / 451.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.184e-05/0.4925, allocations: 77.94 kB / 451.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.4927, allocations: 103.9 kB / 452.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.4946, allocations: 1.055 MB / 453.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/0.4947, allocations: 0 / 453.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.009e-05/0.4948, allocations: 44 kB / 453.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.4948, allocations: 24 kB / 453.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.4962, allocations: 0.6481 MB / 453.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00557/0.5017, allocations: 3.381 MB / 457.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007398/0.5025, allocations: 342.5 kB / 457.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006712/0.5031, allocations: 268.6 kB / 457.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.5032, allocations: 4 kB / 457.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.5032, allocations: 46.5 kB / 457.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 2.314e-06/0.5032, allocations: 0 / 457.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003462/0.5067, allocations: 1.323 MB / 459.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.5068, allocations: 81.11 kB / 459.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.5082, allocations: 0.7857 MB / 460 MB, free: 10.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.5082, allocations: 37.7 kB / 460.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005688/0.5088, allocations: 0.5968 MB / 460.7 MB, free: 9.914 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.509, allocations: 166.6 kB / 460.8 MB, free: 9.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.5092, allocations: 134.6 kB / 461 MB, free: 9.613 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002424/0.5094, allocations: 382.8 kB / 461.3 MB, free: 9.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.5098, allocations: 177.9 kB / 461.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007094/0.5105, allocations: 497.3 kB / 462 MB, free: 8.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.5117, allocations: 0.676 MB / 462.7 MB, free: 7.621 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.5117, allocations: 4 kB / 462.7 MB, free: 7.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001552/0.5132, allocations: 0.7794 MB / 463.5 MB, free: 6.824 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.5133, allocations: 8 kB / 463.5 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/0.5133, allocations: 15.98 kB / 463.5 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003443/0.5136, allocations: 85.89 kB / 463.6 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005534/0.5142, allocations: 159.7 kB / 463.7 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/0.5171, allocations: 2.889 MB / 466.6 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000797/0.5179, allocations: 39.94 kB / 466.6 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/0.518, allocations: 32 kB / 466.7 MB, free: 3.391 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.0005817/0.5185, allocations: 261.7 kB / 466.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.5187, allocations: 83.48 kB / 467 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.5199, allocations: 0.4947 MB / 467.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/0.5199, allocations: 11.94 kB / 467.5 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.5199, allocations: 3.984 kB / 467.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.5199, allocations: 0 / 467.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.5222, allocations: 1.228 MB / 468.8 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.5222, allocations: 4 kB / 468.8 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/0.5225, allocations: 75.89 kB / 468.8 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002269/0.5228, allocations: 65.69 kB / 468.9 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.5228, allocations: 20.2 kB / 468.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002776/0.5256, allocations: 2.862 MB / 471.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.5256, allocations: 3.938 kB / 471.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.5271, allocations: 0.798 MB / 472.6 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003553/0.5275, allocations: 119.5 kB / 472.7 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.5276, allocations: 16 kB / 472.7 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004505/0.528, allocations: 27.97 kB / 472.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.5281, allocations: 43.81 kB / 472.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.5282, allocations: 12 kB / 472.8 MB, free: 12.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008471/0.529, allocations: 0.5186 MB / 473.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.529, allocations: 3.938 kB / 473.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001024/0.53, allocations: 208 kB / 473.5 MB, free: 12.2 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.000297/0.5303, allocations: 127.1 kB / 473.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.5319, allocations: 0.6865 MB / 474.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.5319, allocations: 3.938 kB / 474.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007953/0.5327, allocations: 445.7 kB / 474.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.5338, allocations: 204.7 kB / 475 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.5373, allocations: 1.762 MB / 476.7 MB, free: 8.891 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.5378, allocations: 426.3 kB / 477.1 MB, free: 8.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004773/0.5382, allocations: 102.8 kB / 477.2 MB, free: 8.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.5384, allocations: 55.44 kB / 477.3 MB, free: 8.281 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5384, allocations: 0 / 477.3 MB, free: 8.281 MB / 382.1 MB Notification: Performance of Templates: time 0.02375/0.5621, allocations: 11.97 MB / 489.3 MB, free: 12.53 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 5.967623921998893]