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.0008656/0.0008656, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003971/0.003971, allocations: 159.4 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8395/0.8395, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.453e-06/1.453e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.053e-05, allocations: 3.125 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.005579/0.0056, allocations: 7.279 MB / 333.1 MB, free: 8.059 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.008146, allocations: 2.568 MB / 335.6 MB, free: 5.484 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003477/0.008494, allocations: 35.81 kB / 335.7 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008247/0.009319, allocations: 0.5323 MB / 336.2 MB, free: 4.914 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005613/0.00988, allocations: 0.5271 MB / 336.7 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005377/0.01042, allocations: 271.7 kB / 337 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008677/0.01129, allocations: 1.575 MB / 338.6 MB, free: 2.535 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004/0.01169, allocations: 375.3 kB / 338.9 MB, free: 2.148 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006258/0.01231, allocations: 0.8767 MB / 339.8 MB, free: 1.266 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003652/0.01268, allocations: 454.6 kB / 340.3 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.933e-05/0.01278, allocations: 140 kB / 340.4 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.01296, allocations: 180 kB / 340.6 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.01309, allocations: 294.8 kB / 340.9 MB, free: 224 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002817/0.01337, allocations: 474.8 kB / 341.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.01447, allocations: 1.76 MB / 343.1 MB, free: 13.99 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.01447, allocations: 3.938 kB / 343.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01447, allocations: 0 / 343.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.01449, allocations: 0 / 343.1 MB, free: 13.98 MB / 314.7 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.001657/0.01614, allocations: 1.427 MB / 344.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.01618, allocations: 11.98 kB / 344.5 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003852/0.01656, allocations: 212 kB / 344.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008116/0.01737, allocations: 0.697 MB / 345.4 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/0.01741, allocations: 70 kB / 345.5 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.73e-05/0.0175, allocations: 104 kB / 345.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009919/0.01849, allocations: 1.043 MB / 346.6 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.01851, allocations: 8 kB / 346.7 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.107e-05/0.01857, allocations: 40 kB / 346.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.01858, allocations: 27.98 kB / 346.7 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007603/0.01934, allocations: 0.6481 MB / 347.4 MB, free: 9.594 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002834/0.02217, allocations: 3.373 MB / 350.7 MB, free: 6.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.02264, allocations: 347.4 kB / 351.1 MB, free: 5.672 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006624/0.02331, allocations: 260.7 kB / 351.3 MB, free: 5.414 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.02334, allocations: 4 kB / 351.3 MB, free: 5.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.02336, allocations: 42.55 kB / 351.4 MB, free: 5.359 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 1.934e-06/0.02336, allocations: 3.938 kB / 351.4 MB, free: 5.355 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.001864/0.02523, allocations: 1.328 MB / 352.7 MB, free: 3.988 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.02528, allocations: 81.11 kB / 352.8 MB, free: 3.891 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006632/0.02594, allocations: 0.7817 MB / 353.6 MB, free: 3.098 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.02597, allocations: 37.7 kB / 353.6 MB, free: 3.055 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.02625, allocations: 0.5891 MB / 354.2 MB, free: 2.457 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.403e-05/0.02634, allocations: 166.6 kB / 354.4 MB, free: 2.293 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.02646, allocations: 134.6 kB / 354.5 MB, free: 2.156 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.0266, allocations: 390.8 kB / 354.9 MB, free: 1.766 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.02682, allocations: 177.9 kB / 355 MB, free: 1.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.02717, allocations: 497.3 kB / 355.5 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006035/0.02777, allocations: 0.6796 MB / 356.2 MB, free: 152 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.02777, allocations: 0 / 356.2 MB, free: 152 kB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008555/0.02863, allocations: 0.7874 MB / 357 MB, free: 15.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.02865, allocations: 8 kB / 357 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.02867, allocations: 12 kB / 357 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/0.02888, allocations: 85.67 kB / 357.1 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.02916, allocations: 155.7 kB / 357.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/0.03113, allocations: 2.87 MB / 360.1 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.0314, allocations: 44.31 kB / 360.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.03144, allocations: 40 kB / 360.2 MB, free: 11.93 MB / 330.7 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.0002893/0.03173, allocations: 261.5 kB / 360.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.413e-05/0.0318, allocations: 87.44 kB / 360.5 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000598/0.0324, allocations: 0.4947 MB / 361 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.0324, allocations: 7.938 kB / 361 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.03241, allocations: 0 / 361 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.03241, allocations: 8.016 kB / 361.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.03367, allocations: 1.224 MB / 362.3 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.03367, allocations: 4 kB / 362.3 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.03384, allocations: 71.84 kB / 362.4 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.03396, allocations: 77.83 kB / 362.4 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.03398, allocations: 12 kB / 362.4 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/0.0356, allocations: 2.859 MB / 365.3 MB, free: 6.531 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.0356, allocations: 0 / 365.3 MB, free: 6.531 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007286/0.03633, allocations: 0.7909 MB / 366.1 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.03648, allocations: 119.4 kB / 366.2 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.03652, allocations: 15.98 kB / 366.2 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.03672, allocations: 23.98 kB / 366.2 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.03678, allocations: 43.94 kB / 366.3 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.03679, allocations: 11.98 kB / 366.3 MB, free: 5.484 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004169/0.03721, allocations: 0.5225 MB / 366.8 MB, free: 4.965 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03721, allocations: 0 / 366.8 MB, free: 4.965 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005044/0.03771, allocations: 215.9 kB / 367 MB, free: 4.754 MB / 330.7 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.0001862/0.0379, allocations: 127.1 kB / 367.2 MB, free: 4.621 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007229/0.03862, allocations: 0.6898 MB / 367.8 MB, free: 3.906 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.03863, allocations: 7.938 kB / 367.9 MB, free: 3.898 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.03897, allocations: 434.4 kB / 368.3 MB, free: 3.449 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.03955, allocations: 212.2 kB / 368.5 MB, free: 3.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.0413, allocations: 1.692 MB / 370.2 MB, free: 1.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.04155, allocations: 430.2 kB / 370.6 MB, free: 1.051 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.04166, allocations: 56.5 kB / 370.7 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.04166, allocations: 0 / 370.7 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of Templates: time 0.01535/0.05701, allocations: 21.49 MB / 392.2 MB, free: 11.52 MB / 362.7 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.644468170590699]