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.001712/0.001712, allocations: 88.33 kB / 22 MB, free: 5.188 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.002105/0.002105, allocations: 157.8 kB / 25.24 MB, free: 3.039 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.309/1.309, allocations: 158.6 MB / 187 MB, free: 6.27 MB / 174.1 MB " [Timeout remaining time 179] 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.001781/0.001781, allocations: 55.92 kB / 299.4 MB, free: 6.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2138, allocations: 49.15 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009869/0.2237, allocations: 7.003 MB / 355.5 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00445/0.2281, allocations: 2.455 MB / 358 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008436/0.229, allocations: 27.88 kB / 358 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.2307, allocations: 0.5209 MB / 358.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.2321, allocations: 488.3 kB / 359 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006029/0.2327, allocations: 243.7 kB / 359.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001827/0.2345, allocations: 1.436 MB / 360.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000636/0.2351, allocations: 374 kB / 361 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007086/0.2359, allocations: 0.5564 MB / 361.6 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006878/0.2365, allocations: 0.4974 MB / 362.1 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.2367, allocations: 132 kB / 362.2 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003345/0.237, allocations: 176 kB / 362.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.2373, allocations: 286.9 kB / 362.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005629/0.2378, allocations: 0.5172 MB / 363.2 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.2398, allocations: 1.716 MB / 364.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2398, allocations: 0 / 364.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2398, allocations: 0 / 364.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.2398, allocations: 0 / 364.9 MB, free: 15.03 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.002437/0.2422, allocations: 1.392 MB / 366.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.2423, allocations: 15.97 kB / 366.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005697/0.2428, allocations: 180 kB / 366.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.2441, allocations: 0.6495 MB / 367.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.431e-05/0.2441, allocations: 74 kB / 367.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.2443, allocations: 99.89 kB / 367.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.2459, allocations: 1.002 MB / 368.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.811e-05/0.246, allocations: 3.984 kB / 368.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.247e-05/0.246, allocations: 44 kB / 368.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.2461, allocations: 20 kB / 368.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.2473, allocations: 0.6207 MB / 369 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004941/0.2523, allocations: 3.353 MB / 372.4 MB, free: 7.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005986/0.2529, allocations: 254.5 kB / 372.6 MB, free: 6.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.2532, allocations: 136.8 kB / 372.7 MB, free: 6.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.2532, allocations: 4 kB / 372.7 MB, free: 6.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.2532, allocations: 42.5 kB / 372.8 MB, free: 6.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 3.968e-06/0.2532, allocations: 7.984 kB / 372.8 MB, free: 6.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002365/0.2556, allocations: 1.038 MB / 373.8 MB, free: 5.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.2557, allocations: 85.11 kB / 373.9 MB, free: 5.621 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.2567, allocations: 0.7543 MB / 374.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.2568, allocations: 29.7 kB / 374.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004917/0.2573, allocations: 0.5927 MB / 375.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.2574, allocations: 142.8 kB / 375.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.2576, allocations: 122.6 kB / 375.5 MB, free: 3.961 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.2578, allocations: 382.8 kB / 375.9 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.2581, allocations: 145.9 kB / 376.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006337/0.2588, allocations: 497.9 kB / 376.6 MB, free: 2.797 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009525/0.2597, allocations: 0.6239 MB / 377.2 MB, free: 2.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.2597, allocations: 4 kB / 377.2 MB, free: 2.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001249/0.261, allocations: 0.6816 MB / 377.9 MB, free: 1.336 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.261, allocations: 20.09 kB / 377.9 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.261, allocations: 11.98 kB / 377.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/0.2612, allocations: 36.8 kB / 377.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005272/0.2617, allocations: 155.7 kB / 378.1 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.2629, allocations: 1.279 MB / 379.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004857/0.2634, allocations: 44.09 kB / 379.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.052e-05/0.2634, allocations: 32 kB / 379.4 MB, free: 15.66 MB / 350.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.0003974/0.2638, allocations: 257.8 kB / 379.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.264, allocations: 75.53 kB / 379.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007881/0.2648, allocations: 361.4 kB / 380.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.2648, allocations: 8 kB / 380.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2648, allocations: 3.938 kB / 380.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2648, allocations: 3.984 kB / 380.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.2666, allocations: 1.023 MB / 381.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2666, allocations: 4.219 kB / 381.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003439/0.2669, allocations: 75.89 kB / 381.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.349e-05/0.267, allocations: 32.81 kB / 381.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.267, allocations: 8 kB / 381.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.2681, allocations: 1.248 MB / 382.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2681, allocations: 4.156 kB / 382.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.2692, allocations: 0.6289 MB / 383.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/0.2694, allocations: 99.52 kB / 383.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.491e-05/0.2695, allocations: 12 kB / 383.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.2698, allocations: 27.98 kB / 383.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.923e-05/0.2699, allocations: 27.89 kB / 383.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.2699, allocations: 12 kB / 383.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007272/0.2707, allocations: 0.499 MB / 383.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2707, allocations: 4 kB / 383.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007261/0.2714, allocations: 191.9 kB / 384 MB, free: 10.85 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.0002092/0.2716, allocations: 123.2 kB / 384.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009757/0.2726, allocations: 496 kB / 384.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2726, allocations: 0 / 384.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000445/0.273, allocations: 259.9 kB / 384.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009621/0.274, allocations: 183.1 kB / 385.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.2767, allocations: 1.718 MB / 386.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.2772, allocations: 408.7 kB / 387.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003048/0.2775, allocations: 90.3 kB / 387.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.2776, allocations: 56.44 kB / 387.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2776, allocations: 0 / 387.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of Templates: time 0.01865/0.2962, allocations: 8.986 MB / 396.3 MB, free: 14.43 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 -s ida -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: 4.620461229002103]