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.001318/0.001318, allocations: 120.2 kB / 21.94 MB, free: 8 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.001539/0.001539, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.422/1.422, allocations: 207.6 MB / 236 MB, free: 9.98 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.00203/0.00203, allocations: 51.92 kB / 348.5 MB, free: 9.516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2689, allocations: 49.16 MB / 397.6 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary): time 0.01102/0.2799, allocations: 11.76 MB / 409.4 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006989/0.2869, allocations: 3.242 MB / 412.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002163/0.289, allocations: 43.44 kB / 412.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0021/0.2911, allocations: 0.674 MB / 413.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002721/0.2939, allocations: 0.7319 MB / 414.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.295, allocations: 404.4 kB / 414.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003036/0.298, allocations: 2.247 MB / 416.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.299, allocations: 0.652 MB / 417.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.3003, allocations: 0.8692 MB / 418.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.3015, allocations: 0.9185 MB / 419.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002333/0.3017, allocations: 221.1 kB / 419.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000605/0.3023, allocations: 250.7 kB / 419.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004157/0.3027, allocations: 430.3 kB / 420 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.3039, allocations: 1.022 MB / 421.1 MB, free: 9.359 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002988/0.3069, allocations: 2.688 MB / 423.7 MB, free: 7.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3069, allocations: 0 / 423.7 MB, free: 7.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3069, allocations: 0 / 423.7 MB, free: 7.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.894e-05/0.3069, allocations: 1.094 kB / 423.7 MB, free: 7.297 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.003817/0.3108, allocations: 2.038 MB / 425.8 MB, free: 5.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3108, allocations: 9.625 kB / 425.8 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008913/0.3117, allocations: 264.8 kB / 426.1 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.3135, allocations: 0.9727 MB / 427 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-05/0.3136, allocations: 113.2 kB / 427.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/0.3138, allocations: 160.5 kB / 427.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.3163, allocations: 1.491 MB / 428.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.896e-05/0.3164, allocations: 10.67 kB / 428.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.3165, allocations: 63.09 kB / 428.9 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.178e-05/0.3165, allocations: 38.12 kB / 428.9 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.3184, allocations: 0.978 MB / 429.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008575/0.3269, allocations: 6.384 MB / 436.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008219/0.3278, allocations: 372.1 kB / 436.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004314/0.3282, allocations: 210.1 kB / 436.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.3282, allocations: 4.438 kB / 436.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005128/0.3287, allocations: 272.8 kB / 437.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.974e-06/0.3287, allocations: 0 / 437.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.003556/0.3323, allocations: 1.556 MB / 438.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.3324, allocations: 170.7 kB / 438.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/0.3343, allocations: 1.269 MB / 440.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.904e-05/0.3343, allocations: 37.7 kB / 440.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007641/0.3351, allocations: 0.9011 MB / 441 MB, free: 7.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.3353, allocations: 214.3 kB / 441.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/0.3356, allocations: 214.8 kB / 441.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3357, allocations: 357.9 kB / 441.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005031/0.3362, allocations: 234.5 kB / 442 MB, free: 6.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009822/0.3372, allocations: 0.8072 MB / 442.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.3387, allocations: 1.117 MB / 443.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/0.3387, allocations: 4 kB / 444 MB, free: 3.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002092/0.3408, allocations: 1.172 MB / 445.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/0.3409, allocations: 45.86 kB / 445.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/0.3409, allocations: 23.98 kB / 445.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002407/0.3411, allocations: 65.58 kB / 445.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007791/0.3419, allocations: 263.6 kB / 445.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.3441, allocations: 2.574 MB / 448.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.3452, allocations: 68.09 kB / 448.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.576e-05/0.3453, allocations: 60 kB / 448.2 MB, free: 15.21 MB / 366.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.0006267/0.3459, allocations: 357.3 kB / 448.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.3461, allocations: 135.1 kB / 448.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.3471, allocations: 0.5552 MB / 449.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3472, allocations: 4 kB / 449.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3472, allocations: 4 kB / 449.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3472, allocations: 0 / 449.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.3501, allocations: 1.838 MB / 451.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.3501, allocations: 4 kB / 451.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/0.3505, allocations: 103.9 kB / 451.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001507/0.3506, allocations: 46.11 kB / 451.2 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.3507, allocations: 19.98 kB / 451.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/0.3527, allocations: 2.55 MB / 453.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.3527, allocations: 4 kB / 453.8 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.3541, allocations: 0.9342 MB / 454.8 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004745/0.3546, allocations: 187.1 kB / 454.9 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.3548, allocations: 16 kB / 455 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005189/0.3553, allocations: 35.97 kB / 455 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.3554, allocations: 55.64 kB / 455 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.3554, allocations: 16 kB / 455.1 MB, free: 7.918 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001202/0.3566, allocations: 0.85 MB / 455.9 MB, free: 7.066 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3566, allocations: 4 kB / 455.9 MB, free: 7.062 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001165/0.3578, allocations: 311.9 kB / 456.2 MB, free: 6.758 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.0002242/0.358, allocations: 119.2 kB / 456.3 MB, free: 6.633 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.3596, allocations: 0.8928 MB / 457.2 MB, free: 5.707 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.3596, allocations: 5 kB / 457.2 MB, free: 5.703 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000645/0.3602, allocations: 441.2 kB / 457.7 MB, free: 5.246 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.3616, allocations: 345.5 kB / 458 MB, free: 4.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/0.3659, allocations: 2.601 MB / 460.6 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008304/0.3667, allocations: 1.174 MB / 461.8 MB, free: 1.016 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.3669, allocations: 91.44 kB / 461.9 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3669, allocations: 3.938 kB / 461.9 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of Templates: time 0.04036/0.4073, allocations: 31.82 MB / 493.7 MB, free: 1.043 MB / 398.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/jenkins1/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/jenkins1/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: 9.843414237024263]