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.00187/0.00187, allocations: 117.2 kB / 18.5 MB, free: 4.543 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.002295/0.002295, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.53/1.53, allocations: 230.2 MB / 254.5 MB, free: 15.22 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.001921/0.001921, allocations: 55.91 kB / 373.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1115, allocations: 53.32 MB / 427.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.2379/0.3494, allocations: 8.269 MB / 435.4 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006042/0.3554, allocations: 2.75 MB / 438.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.3573, allocations: 24.41 kB / 438.2 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002504/0.3598, allocations: 0.5914 MB / 438.8 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.362, allocations: 0.4982 MB / 439.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009727/0.363, allocations: 273.5 kB / 439.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002609/0.3656, allocations: 1.505 MB / 441.1 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009015/0.3665, allocations: 407.1 kB / 441.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.3679, allocations: 0.5716 MB / 442 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.3689, allocations: 0.6137 MB / 442.6 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.3692, allocations: 139.2 kB / 442.8 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006496/0.3698, allocations: 184 kB / 443 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.3701, allocations: 288.8 kB / 443.2 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.3711, allocations: 0.6707 MB / 443.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003321/0.3745, allocations: 1.765 MB / 445.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3745, allocations: 1.125 kB / 445.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3745, allocations: 4 kB / 445.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.677e-05/0.3745, allocations: 0 / 445.7 MB, free: 2.418 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.003537/0.378, allocations: 1.521 MB / 447.2 MB, free: 1.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.3781, allocations: 9.625 kB / 447.2 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.3793, allocations: 209 kB / 447.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/0.3809, allocations: 0.7639 MB / 448.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-05/0.381, allocations: 73.91 kB / 448.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.3812, allocations: 104.5 kB / 448.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/0.3836, allocations: 0.9409 MB / 449.3 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.689e-05/0.3836, allocations: 2.922 kB / 449.3 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.3837, allocations: 45.12 kB / 449.3 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/0.3838, allocations: 28.92 kB / 449.4 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.3857, allocations: 0.6465 MB / 450 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008484/0.3942, allocations: 3.917 MB / 453.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.3953, allocations: 434.7 kB / 454.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007819/0.3961, allocations: 263.6 kB / 454.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.3961, allocations: 7.359 kB / 454.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.3961, allocations: 36.94 kB / 454.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 2.755e-06/0.3961, allocations: 1.031 kB / 454.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.00421/0.4003, allocations: 1.569 MB / 456.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.4004, allocations: 82.05 kB / 456.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.4021, allocations: 0.846 MB / 457.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.4021, allocations: 36.45 kB / 457.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000523/0.4026, allocations: 0.5763 MB / 457.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.4028, allocations: 170.5 kB / 457.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/0.4031, allocations: 132.4 kB / 458.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.4032, allocations: 332.9 kB / 458.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004654/0.4037, allocations: 173.9 kB / 458.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007573/0.4045, allocations: 470.6 kB / 459 MB, free: 9.949 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.4058, allocations: 0.6768 MB / 459.7 MB, free: 9.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.4058, allocations: 2.406 kB / 459.7 MB, free: 9.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002106/0.4079, allocations: 0.7975 MB / 460.5 MB, free: 8.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.4079, allocations: 9.156 kB / 460.5 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.4079, allocations: 9.5 kB / 460.5 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003969/0.4083, allocations: 78.73 kB / 460.6 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008075/0.4091, allocations: 163.6 kB / 460.8 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00325/0.4124, allocations: 3.141 MB / 463.9 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009857/0.4134, allocations: 38.59 kB / 463.9 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/0.4134, allocations: 32.03 kB / 464 MB, free: 5.66 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.0006198/0.4141, allocations: 271.6 kB / 464.2 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002915/0.4144, allocations: 94.48 kB / 464.3 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.4158, allocations: 0.4929 MB / 464.8 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.4159, allocations: 5.625 kB / 464.8 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.309e-06/0.4159, allocations: 0.9688 kB / 464.8 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.4159, allocations: 7.922 kB / 464.8 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003611/0.4195, allocations: 1.468 MB / 466.3 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.4195, allocations: 2.344 kB / 466.3 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005157/0.42, allocations: 84.08 kB / 466.4 MB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003029/0.4203, allocations: 68.75 kB / 466.4 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.425e-05/0.4203, allocations: 16.48 kB / 466.5 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003643/0.424, allocations: 3.132 MB / 469.6 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.424, allocations: 1.719 kB / 469.6 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.4262, allocations: 0.8058 MB / 470.4 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006655/0.4269, allocations: 210.2 kB / 470.6 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.427, allocations: 13.06 kB / 470.6 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007028/0.4277, allocations: 27.23 kB / 470.6 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.4279, allocations: 35.11 kB / 470.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.4279, allocations: 14.16 kB / 470.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001422/0.4293, allocations: 0.5783 MB / 471.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4293, allocations: 1.156 kB / 471.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001799/0.4311, allocations: 211.2 kB / 471.5 MB, free: 15.62 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.0002837/0.4314, allocations: 130 kB / 471.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.4333, allocations: 0.683 MB / 472.3 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.4333, allocations: 1.688 kB / 472.3 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.4343, allocations: 443.5 kB / 472.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.4362, allocations: 234.5 kB / 473 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004509/0.4407, allocations: 1.771 MB / 474.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008941/0.4416, allocations: 1.017 MB / 475.7 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006464/0.4422, allocations: 108 kB / 475.8 MB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.4424, allocations: 55.12 kB / 475.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of SimCode: time 1.523e-06/0.4424, allocations: 0 / 475.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of Templates: time 0.03157/0.474, allocations: 11.02 MB / 486.9 MB, free: 3.684 MB / 382.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: 5.145007807761431]