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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 105.7 kB / 20.32 MB, free: 1.75 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 194.8 kB / 23.47 MB, free: 5.469 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 207.6 MB / 234.1 MB, free: 11.04 MB / 190.1 MB [Timeout remaining time 88] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 62.09 kB / 345.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2372, allocations: 49.12 MB / 394.9 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.007345/0.2446, allocations: 7.974 MB / 402.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004051/0.2486, allocations: 2.643 MB / 405.6 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009303/0.2496, allocations: 24.81 kB / 405.6 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.2511, allocations: 0.5716 MB / 406.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.2524, allocations: 491.2 kB / 406.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005277/0.2529, allocations: 244.4 kB / 406.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001589/0.2545, allocations: 1.44 MB / 408.3 MB, free: 168 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006422/0.2552, allocations: 403.9 kB / 408.7 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009226/0.2561, allocations: 0.5381 MB / 409.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008877/0.257, allocations: 0.5832 MB / 409.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002056/0.2572, allocations: 136.4 kB / 410 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003987/0.2576, allocations: 172.3 kB / 410.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002496/0.2578, allocations: 272.2 kB / 410.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007029/0.2585, allocations: 0.6496 MB / 411 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002043/0.2606, allocations: 1.705 MB / 412.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2606, allocations: 5.016 kB / 412.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2606, allocations: 4 kB / 412.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.923e-05/0.2606, allocations: 0 / 412.8 MB, free: 13.69 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.002597/0.2632, allocations: 1.46 MB / 414.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2632, allocations: 9.906 kB / 414.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006152/0.2639, allocations: 176 kB / 414.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.2652, allocations: 0.7307 MB / 415.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.041e-05/0.2653, allocations: 72.31 kB / 415.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.2654, allocations: 99.23 kB / 415.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.267, allocations: 0.9229 MB / 416.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/0.2671, allocations: 5.078 kB / 416.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.973e-05/0.2671, allocations: 41.31 kB / 416.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.2672, allocations: 24.12 kB / 416.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.2684, allocations: 0.6255 MB / 416.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005511/0.2739, allocations: 3.882 MB / 420.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006302/0.2745, allocations: 346 kB / 421.1 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.2748, allocations: 146 kB / 421.3 MB, free: 7.238 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.2749, allocations: 3.562 kB / 421.3 MB, free: 7.238 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.2749, allocations: 36.97 kB / 421.3 MB, free: 7.195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.194e-06/0.2749, allocations: 0 / 421.3 MB, free: 7.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002587/0.2775, allocations: 1.21 MB / 422.5 MB, free: 6.324 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.2775, allocations: 81.2 kB / 422.6 MB, free: 6.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.2787, allocations: 0.8255 MB / 423.4 MB, free: 5.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.2788, allocations: 34.92 kB / 423.5 MB, free: 5.719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004785/0.2792, allocations: 0.5809 MB / 424 MB, free: 5.195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.2793, allocations: 136.5 kB / 424.2 MB, free: 5.078 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.2795, allocations: 130.7 kB / 424.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2797, allocations: 336.2 kB / 424.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003087/0.28, allocations: 147.5 kB / 424.8 MB, free: 4.594 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005569/0.2805, allocations: 458.7 kB / 425.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009122/0.2815, allocations: 0.6318 MB / 425.9 MB, free: 3.516 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.2815, allocations: 8.562 kB / 425.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001292/0.2828, allocations: 0.6882 MB / 426.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.2828, allocations: 9.969 kB / 426.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.2828, allocations: 14.22 kB / 426.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/0.283, allocations: 35.41 kB / 426.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005003/0.2835, allocations: 156.8 kB / 426.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.2847, allocations: 1.392 MB / 428.2 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006535/0.2853, allocations: 42.59 kB / 428.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/0.2854, allocations: 32.34 kB / 428.2 MB, free: 1.625 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.000437/0.2858, allocations: 262 kB / 428.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.286, allocations: 87.42 kB / 428.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008061/0.2868, allocations: 374.5 kB / 428.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.2868, allocations: 7.984 kB / 428.9 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2868, allocations: 4 kB / 428.9 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.2868, allocations: 48 / 428.9 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/0.2889, allocations: 1.269 MB / 430.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.2889, allocations: 4 kB / 430.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.2892, allocations: 75.83 kB / 430.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.99e-05/0.2893, allocations: 21.08 kB / 430.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.2893, allocations: 16 kB / 430.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.2904, allocations: 1.363 MB / 431.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.2904, allocations: 4.031 kB / 431.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.2916, allocations: 0.636 MB / 432.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003286/0.2919, allocations: 192.5 kB / 432.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.114e-05/0.292, allocations: 8 kB / 432.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.2924, allocations: 39.91 kB / 432.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.585e-05/0.2925, allocations: 27.91 kB / 432.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.2925, allocations: 8 kB / 432.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008372/0.2933, allocations: 0.5576 MB / 433.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2933, allocations: 4 kB / 433.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008079/0.2941, allocations: 191.9 kB / 433.4 MB, free: 12.21 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.0002132/0.2943, allocations: 119.2 kB / 433.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.2954, allocations: 492.2 kB / 434 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2954, allocations: 4.562 kB / 434 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004328/0.2958, allocations: 266.5 kB / 434.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009995/0.2968, allocations: 211.7 kB / 434.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.2998, allocations: 1.768 MB / 436.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006884/0.3005, allocations: 0.9884 MB / 437.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.3006, allocations: 67.42 kB / 437.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3006, allocations: 0 / 437.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of Templates: time 0.02183/0.3224, allocations: 15.88 MB / 453.1 MB, free: 8.285 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