Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.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.001947/0.001947, allocations: 107.6 kB / 21.18 MB, free: 452 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.002238/0.002238, allocations: 214.5 kB / 24.47 MB, free: 3.777 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.557/1.557, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.DCPM_QuasiStationary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary") [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.001847/0.001847, allocations: 59.91 kB / 347.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3137, allocations: 49.16 MB / 396.9 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary): time 0.01238/0.3261, allocations: 10.16 MB / 407 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007787/0.3339, allocations: 3.052 MB / 410.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002331/0.3362, allocations: 43.44 kB / 410.1 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002427/0.3386, allocations: 0.6253 MB / 410.7 MB, free: 336 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003879/0.3425, allocations: 0.7295 MB / 411.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.3445, allocations: 398.7 kB / 411.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005005/0.3495, allocations: 2.249 MB / 414.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.3511, allocations: 0.6141 MB / 414.7 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00276/0.3538, allocations: 0.869 MB / 415.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/0.3561, allocations: 0.7776 MB / 416.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007296/0.3569, allocations: 216.8 kB / 416.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.3583, allocations: 255.2 kB / 416.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007472/0.3591, allocations: 434.4 kB / 417.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002174/0.3613, allocations: 0.8237 MB / 418.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003691/0.365, allocations: 2.71 MB / 420.8 MB, free: 9.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.365, allocations: 5.312 kB / 420.8 MB, free: 9.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.365, allocations: 0 / 420.8 MB, free: 9.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.972e-05/0.365, allocations: 0 / 420.8 MB, free: 9.672 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004232/0.3692, allocations: 2.039 MB / 422.8 MB, free: 8.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3693, allocations: 9.094 kB / 422.8 MB, free: 8.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008978/0.3702, allocations: 265.7 kB / 423.1 MB, free: 8.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.3724, allocations: 0.968 MB / 424.1 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.3725, allocations: 113.5 kB / 424.2 MB, free: 7.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002408/0.3728, allocations: 160.8 kB / 424.3 MB, free: 7.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002746/0.3755, allocations: 1.588 MB / 425.9 MB, free: 6.004 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.333e-05/0.3756, allocations: 11.94 kB / 425.9 MB, free: 5.992 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.3757, allocations: 68 kB / 426 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-05/0.3757, allocations: 40 kB / 426 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.3777, allocations: 0.9668 MB / 427 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008439/0.3861, allocations: 5.706 MB / 432.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008792/0.387, allocations: 368.7 kB / 433.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004398/0.3875, allocations: 206 kB / 433.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.877e-05/0.3875, allocations: 8.422 kB / 433.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005612/0.3881, allocations: 324.2 kB / 433.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.435e-06/0.3881, allocations: 0 / 433.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.003751/0.3918, allocations: 1.541 MB / 435.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.392, allocations: 166.7 kB / 435.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.3937, allocations: 1.114 MB / 436.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.08e-05/0.3937, allocations: 37.7 kB / 436.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008647/0.3946, allocations: 0.8967 MB / 437.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/0.3948, allocations: 218.2 kB / 437.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003175/0.3951, allocations: 222.8 kB / 437.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002318/0.3954, allocations: 357.9 kB / 438.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004977/0.3959, allocations: 256.2 kB / 438.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.3971, allocations: 0.9289 MB / 439.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.3987, allocations: 1.125 MB / 440.4 MB, free: 6.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.3987, allocations: 8 kB / 440.4 MB, free: 6.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002244/0.401, allocations: 1.181 MB / 441.6 MB, free: 5.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.342e-05/0.401, allocations: 37.7 kB / 441.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/0.401, allocations: 20.72 kB / 441.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002459/0.4013, allocations: 69.7 kB / 441.7 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008245/0.4021, allocations: 263.5 kB / 442 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.4044, allocations: 2.528 MB / 444.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.4056, allocations: 71.83 kB / 444.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.407e-05/0.4057, allocations: 56 kB / 444.7 MB, free: 1.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000809/0.4065, allocations: 365.4 kB / 445 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.4067, allocations: 123.2 kB / 445.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.4079, allocations: 0.5301 MB / 445.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.4079, allocations: 8 kB / 445.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4079, allocations: 0 / 445.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.4079, allocations: 7.922 kB / 445.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/0.4109, allocations: 1.544 MB / 447.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.411, allocations: 4 kB / 447.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004704/0.4114, allocations: 112.3 kB / 447.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001641/0.4116, allocations: 41.7 kB / 447.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.331e-05/0.4116, allocations: 16 kB / 447.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002285/0.4139, allocations: 2.501 MB / 449.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.4139, allocations: 4 kB / 449.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.4157, allocations: 0.906 MB / 450.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005456/0.4162, allocations: 171.3 kB / 451 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.4164, allocations: 16 kB / 451 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000523/0.4169, allocations: 31.97 kB / 451 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.417, allocations: 59.58 kB / 451.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.417, allocations: 20 kB / 451.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001221/0.4183, allocations: 0.7161 MB / 451.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4183, allocations: 0 / 451.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001311/0.4196, allocations: 307.9 kB / 452.1 MB, free: 10.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (dcpm1.inertiaRotor.w,dcpm1.la.i,loadInertia1.phi,dcpm2.inertiaRotor.w,loadInertia2.phi) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,1,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.0002527/0.4198, allocations: 127.1 kB / 452.2 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.4216, allocations: 0.9175 MB / 453.2 MB, free: 8.973 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4216, allocations: 0 / 453.2 MB, free: 8.973 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007574/0.4224, allocations: 467.3 kB / 453.6 MB, free: 8.492 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.4239, allocations: 308.4 kB / 453.9 MB, free: 8.191 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005043/0.4289, allocations: 2.548 MB / 456.5 MB, free: 5.559 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008035/0.4297, allocations: 0.5922 MB / 457.1 MB, free: 4.926 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006318/0.4304, allocations: 150.1 kB / 457.2 MB, free: 4.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.4305, allocations: 79.42 kB / 457.3 MB, free: 4.699 MB / 366.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4305, allocations: 4 kB / 457.3 MB, free: 4.695 MB / 366.1 MB Notification: Performance of Templates: time 0.03212/0.4627, allocations: 16.49 MB / 473.8 MB, free: 4.164 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_QuasiStationary/DCPM_QuasiStationary.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.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.426847491413355]