Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.001707/0.001707, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002043/0.002043, allocations: 208.4 kB / 23.73 MB, free: 4.387 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 51.92 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3033, allocations: 53.36 MB / 431.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01011/0.3134, allocations: 7.153 MB / 438.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005382/0.3188, allocations: 2.49 MB / 441.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.3199, allocations: 27.88 kB / 441.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.3215, allocations: 0.5131 MB / 441.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.323, allocations: 0.4925 MB / 442.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005778/0.3236, allocations: 255.7 kB / 442.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.3253, allocations: 1.467 MB / 444 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006537/0.326, allocations: 377.9 kB / 444.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008885/0.3268, allocations: 0.5759 MB / 444.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006954/0.3275, allocations: 0.5129 MB / 445.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00019/0.3277, allocations: 143.9 kB / 445.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003524/0.3281, allocations: 176 kB / 445.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002299/0.3283, allocations: 279 kB / 446 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000543/0.3289, allocations: 0.5366 MB / 446.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.331, allocations: 1.747 MB / 448.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.331, allocations: 0 / 448.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.331, allocations: 0 / 448.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.22e-05/0.331, allocations: 0 / 448.3 MB, free: 5.93 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002585/0.3336, allocations: 1.4 MB / 449.7 MB, free: 4.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3336, allocations: 12.03 kB / 449.7 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007047/0.3343, allocations: 192 kB / 449.9 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.3357, allocations: 0.6806 MB / 450.6 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.759e-05/0.3358, allocations: 66 kB / 450.6 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.336, allocations: 108 kB / 450.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.3377, allocations: 1.039 MB / 451.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/0.3377, allocations: 0 / 451.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.899e-05/0.3378, allocations: 44 kB / 451.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.3378, allocations: 24 kB / 451.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.3391, allocations: 0.6324 MB / 452.5 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005083/0.3442, allocations: 3.354 MB / 455.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/0.3448, allocations: 347.4 kB / 456.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005966/0.3454, allocations: 261.3 kB / 456.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.3455, allocations: 4.328 kB / 456.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.3455, allocations: 42.89 kB / 456.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.245e-06/0.3455, allocations: 0 / 456.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002695/0.3482, allocations: 1.249 MB / 457.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/0.3483, allocations: 85.05 kB / 457.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.3493, allocations: 0.7582 MB / 458.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.3493, allocations: 29.7 kB / 458.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004499/0.3498, allocations: 0.5852 MB / 459.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.3499, allocations: 170.6 kB / 459.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.3501, allocations: 130.6 kB / 459.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.3503, allocations: 382.8 kB / 459.9 MB, free: 9.945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.3507, allocations: 161.9 kB / 460 MB, free: 9.785 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005916/0.3512, allocations: 489.7 kB / 460.5 MB, free: 9.164 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009728/0.3522, allocations: 0.6622 MB / 461.2 MB, free: 8.367 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.3522, allocations: 4 kB / 461.2 MB, free: 8.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001422/0.3537, allocations: 0.7557 MB / 461.9 MB, free: 7.598 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.3537, allocations: 15.98 kB / 461.9 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.3537, allocations: 12.03 kB / 461.9 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003145/0.354, allocations: 81.62 kB / 462 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005117/0.3545, allocations: 155.7 kB / 462.2 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/0.3573, allocations: 2.874 MB / 465.1 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/0.3578, allocations: 35.94 kB / 465.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/0.3579, allocations: 44.09 kB / 465.1 MB, free: 4.176 MB / 366.1 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 (84): * Single equations (assignments): 82 * 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.0004456/0.3583, allocations: 257.6 kB / 465.4 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.3585, allocations: 83.42 kB / 465.5 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009726/0.3594, allocations: 486.6 kB / 465.9 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.3595, allocations: 11.94 kB / 465.9 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.3595, allocations: 0 / 465.9 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3595, allocations: 0 / 465.9 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.3615, allocations: 1.193 MB / 467.1 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.3615, allocations: 4.125 kB / 467.1 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.3618, allocations: 75.89 kB / 467.2 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002076/0.362, allocations: 65.91 kB / 467.3 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.3621, allocations: 19.98 kB / 467.3 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002618/0.3647, allocations: 2.854 MB / 470.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.3647, allocations: 7.969 kB / 470.2 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.366, allocations: 0.7589 MB / 470.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.3663, allocations: 115.5 kB / 471 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.928e-05/0.3664, allocations: 16.12 kB / 471.1 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.3668, allocations: 31.91 kB / 471.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-05/0.3669, allocations: 35.83 kB / 471.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.3669, allocations: 19.98 kB / 471.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007476/0.3676, allocations: 0.4991 MB / 471.6 MB, free: 13.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3676, allocations: 0 / 471.6 MB, free: 13.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009565/0.3686, allocations: 204 kB / 471.8 MB, free: 13.12 MB / 382.1 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 (38): * Single equations (assignments): 36 * 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.0002662/0.3689, allocations: 130.1 kB / 472 MB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.3703, allocations: 0.6675 MB / 472.6 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3703, allocations: 0 / 472.6 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007085/0.371, allocations: 441.5 kB / 473.1 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000992/0.372, allocations: 200.9 kB / 473.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/0.3751, allocations: 1.735 MB / 475 MB, free: 9.871 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.3756, allocations: 413.6 kB / 475.4 MB, free: 9.438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003716/0.376, allocations: 98.67 kB / 475.5 MB, free: 9.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.3761, allocations: 55.38 kB / 475.5 MB, free: 9.281 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3761, allocations: 4 kB / 475.6 MB, free: 9.277 MB / 382.1 MB Notification: Performance of Templates: time 0.02196/0.3981, allocations: 11.49 MB / 487 MB, free: 14.01 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.0982646476477385]