Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.001399/0.001399, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001603/0.001603, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.55/1.55, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 47.92 kB / 373.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1166, allocations: 53.32 MB / 426.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.2361/0.3527, allocations: 8.033 MB / 434.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003712/0.3564, allocations: 2.639 MB / 437.5 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006011/0.357, allocations: 28.78 kB / 437.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.3583, allocations: 0.5648 MB / 438.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009396/0.3593, allocations: 494.5 kB / 438.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.3597, allocations: 243.5 kB / 438.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.3609, allocations: 1.428 MB / 440.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005609/0.3615, allocations: 408.1 kB / 440.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007069/0.3622, allocations: 0.5612 MB / 441.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005988/0.3628, allocations: 0.5803 MB / 441.8 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.3629, allocations: 135.8 kB / 441.9 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003376/0.3633, allocations: 175.3 kB / 442.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.3634, allocations: 277.3 kB / 442.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004882/0.3639, allocations: 0.6525 MB / 443 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.3658, allocations: 1.704 MB / 444.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3658, allocations: 0 / 444.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3658, allocations: 0.5938 kB / 444.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.974e-05/0.3659, allocations: 1.5 kB / 444.7 MB, free: 2.586 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002291/0.3681, allocations: 1.457 MB / 446.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3682, allocations: 9.906 kB / 446.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000564/0.3687, allocations: 175.5 kB / 446.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.3698, allocations: 0.7314 MB / 447.1 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.784e-05/0.3699, allocations: 73.66 kB / 447.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.37, allocations: 99.19 kB / 447.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.3715, allocations: 0.9158 MB / 448.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.603e-05/0.3716, allocations: 10.84 kB / 448.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.425e-05/0.3716, allocations: 40.66 kB / 448.2 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.3717, allocations: 28.22 kB / 448.2 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.3729, allocations: 0.6214 MB / 448.8 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005461/0.3784, allocations: 3.886 MB / 452.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006321/0.379, allocations: 337.7 kB / 453.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/0.3793, allocations: 140.8 kB / 453.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.3793, allocations: 2.188 kB / 453.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.3794, allocations: 37.81 kB / 453.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.934e-06/0.3794, allocations: 0 / 453.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.00261/0.382, allocations: 1.204 MB / 454.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.3821, allocations: 82.22 kB / 454.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.3832, allocations: 0.8318 MB / 455.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.3833, allocations: 30.86 kB / 455.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/0.3837, allocations: 0.5811 MB / 456 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.3838, allocations: 138.4 kB / 456.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.384, allocations: 127 kB / 456.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3841, allocations: 332 kB / 456.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.3845, allocations: 148 kB / 456.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006388/0.3851, allocations: 465.8 kB / 457.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009891/0.3861, allocations: 0.6367 MB / 457.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.3861, allocations: 2.75 kB / 457.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001249/0.3874, allocations: 0.6936 MB / 458.5 MB, free: 9.598 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3874, allocations: 12.11 kB / 458.5 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.3874, allocations: 13.97 kB / 458.5 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.3876, allocations: 29 kB / 458.5 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/0.3881, allocations: 165.1 kB / 458.7 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.3893, allocations: 1.387 MB / 460.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006002/0.3899, allocations: 30.11 kB / 460.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.3899, allocations: 37.11 kB / 460.1 MB, free: 8.133 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003899/0.3903, allocations: 256.9 kB / 460.4 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.3905, allocations: 93.22 kB / 460.5 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008796/0.3913, allocations: 378.2 kB / 460.9 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.3913, allocations: 3.281 kB / 460.9 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3914, allocations: 5.062 kB / 460.9 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.3914, allocations: 2.438 kB / 460.9 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.3936, allocations: 1.257 MB / 462.1 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3936, allocations: 2.812 kB / 462.1 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.3939, allocations: 83.39 kB / 462.2 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.773e-05/0.394, allocations: 19.77 kB / 462.2 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.394, allocations: 12.27 kB / 462.2 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.3951, allocations: 1.371 MB / 463.6 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/0.3951, allocations: 6.156 kB / 463.6 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.3962, allocations: 0.6349 MB / 464.3 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/0.3965, allocations: 193.4 kB / 464.4 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.58e-05/0.3966, allocations: 12.02 kB / 464.5 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.397, allocations: 25.08 kB / 464.5 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.348e-05/0.3971, allocations: 23.56 kB / 464.5 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.3971, allocations: 12.5 kB / 464.5 MB, free: 4.621 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008162/0.3979, allocations: 0.5647 MB / 465.1 MB, free: 4.297 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3979, allocations: 0 / 465.1 MB, free: 4.297 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008204/0.3987, allocations: 192.4 kB / 465.3 MB, free: 4.277 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0002229/0.399, allocations: 116.8 kB / 465.4 MB, free: 4.176 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.4, allocations: 0.504 MB / 465.9 MB, free: 3.879 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4, allocations: 1.219 kB / 465.9 MB, free: 3.879 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004521/0.4005, allocations: 251.3 kB / 466.1 MB, free: 3.707 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.4015, allocations: 225.6 kB / 466.4 MB, free: 3.613 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.4045, allocations: 1.718 MB / 468.1 MB, free: 2.488 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006856/0.4052, allocations: 0.9994 MB / 469.1 MB, free: 1.652 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003483/0.4056, allocations: 104.5 kB / 469.2 MB, free: 1.602 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.4057, allocations: 53.31 kB / 469.2 MB, free: 1.594 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4057, allocations: 0 / 469.2 MB, free: 1.594 MB / 366.1 MB Notification: Performance of Templates: time 0.02267/0.4284, allocations: 9.788 MB / 479 MB, free: 11.29 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.190034978091717]