Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001378/0.001378, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.001516/0.001516, allocations: 200.8 kB / 25.24 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 207.6 MB / 236 MB, free: 10.86 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 51.92 kB / 348.5 MB, free: 9.637 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2657, allocations: 49.16 MB / 397.6 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008435/0.2741, allocations: 7.999 MB / 405.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004764/0.2789, allocations: 2.647 MB / 408.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.28, allocations: 28.16 kB / 408.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.2816, allocations: 0.5816 MB / 408.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.2829, allocations: 488.6 kB / 409.3 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.2834, allocations: 238.8 kB / 409.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001529/0.2849, allocations: 1.441 MB / 411 MB, free: 308 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006103/0.2856, allocations: 404.2 kB / 411.4 MB, free: 56 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009648/0.2865, allocations: 0.5583 MB / 412 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008134/0.2873, allocations: 0.5797 MB / 412.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.2875, allocations: 134.8 kB / 412.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003437/0.2878, allocations: 173 kB / 412.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002699/0.2881, allocations: 275.8 kB / 413.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006513/0.2888, allocations: 0.6478 MB / 413.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.2908, allocations: 1.706 MB / 415.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2908, allocations: 4 kB / 415.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2908, allocations: 0 / 415.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.872e-05/0.2908, allocations: 5.094 kB / 415.5 MB, free: 13.63 MB / 334.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.00251/0.2933, allocations: 1.381 MB / 416.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.2934, allocations: 13.14 kB / 416.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005922/0.294, allocations: 179.6 kB / 417.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.2953, allocations: 0.6566 MB / 417.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.057e-05/0.2953, allocations: 72.28 kB / 417.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.2955, allocations: 107.8 kB / 417.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.2971, allocations: 0.9181 MB / 418.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.703e-05/0.2971, allocations: 10.27 kB / 418.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.519e-05/0.2972, allocations: 36.91 kB / 418.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.2972, allocations: 24 kB / 418.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.2985, allocations: 0.625 MB / 419.5 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005656/0.3041, allocations: 3.777 MB / 423.3 MB, free: 7.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005676/0.3047, allocations: 257.9 kB / 423.5 MB, free: 7.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.305, allocations: 141 kB / 423.7 MB, free: 7.566 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.305, allocations: 12.05 kB / 423.7 MB, free: 7.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.305, allocations: 31.97 kB / 423.7 MB, free: 7.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.615e-06/0.305, allocations: 1.5 kB / 423.7 MB, free: 7.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002638/0.3077, allocations: 1.05 MB / 424.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/0.3078, allocations: 88.81 kB / 424.8 MB, free: 6.742 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.309, allocations: 0.8194 MB / 425.7 MB, free: 6.277 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.309, allocations: 30.98 kB / 425.7 MB, free: 6.242 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006178/0.3096, allocations: 0.589 MB / 426.3 MB, free: 5.711 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.3098, allocations: 140.2 kB / 426.4 MB, free: 5.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.31, allocations: 127.1 kB / 426.5 MB, free: 5.508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002599/0.3103, allocations: 331.6 kB / 426.9 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.3106, allocations: 147.5 kB / 427 MB, free: 5.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005658/0.3111, allocations: 463.2 kB / 427.5 MB, free: 4.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009285/0.3121, allocations: 0.6387 MB / 428.1 MB, free: 4.027 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.3121, allocations: 3.719 kB / 428.1 MB, free: 4.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001342/0.3134, allocations: 0.6853 MB / 428.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.3134, allocations: 15.91 kB / 428.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.3135, allocations: 8 kB / 428.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.3136, allocations: 40.78 kB / 428.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005003/0.3141, allocations: 155.7 kB / 429 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.3153, allocations: 1.295 MB / 430.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/0.3159, allocations: 44.09 kB / 430.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.3159, allocations: 32 kB / 430.4 MB, free: 1.73 MB / 334.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.0004047/0.3163, allocations: 249.6 kB / 430.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.3165, allocations: 91.42 kB / 430.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007557/0.3172, allocations: 382.2 kB / 431.1 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3172, allocations: 4 kB / 431.1 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.3172, allocations: 0 / 431.1 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3172, allocations: 0 / 431.1 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.3193, allocations: 1.234 MB / 432.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3193, allocations: 7.938 kB / 432.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004638/0.3198, allocations: 79.83 kB / 432.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.705e-05/0.3199, allocations: 25.06 kB / 432.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.3199, allocations: 12 kB / 432.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.3211, allocations: 1.256 MB / 433.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3211, allocations: 0 / 433.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.3223, allocations: 0.6447 MB / 434.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003331/0.3226, allocations: 115.4 kB / 434.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.73e-05/0.3227, allocations: 16 kB / 434.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.3231, allocations: 23.92 kB / 434.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.654e-05/0.3232, allocations: 27.95 kB / 434.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.3232, allocations: 11.94 kB / 434.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008888/0.3241, allocations: 0.5615 MB / 435.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3241, allocations: 0 / 435.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008654/0.3249, allocations: 192 kB / 435.3 MB, free: 12.57 MB / 350.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.0002209/0.3252, allocations: 123.1 kB / 435.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.3262, allocations: 496 kB / 435.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3262, allocations: 0.75 kB / 435.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004324/0.3266, allocations: 258.4 kB / 436.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.3276, allocations: 223.6 kB / 436.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.3308, allocations: 1.755 MB / 438.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007068/0.3315, allocations: 0.9923 MB / 439.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.3317, allocations: 55.44 kB / 439.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3317, allocations: 3.938 kB / 439.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of Templates: time 0.02283/0.3545, allocations: 15.91 MB / 455.1 MB, free: 8.633 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.815697106067091]