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.001879/0.001879, allocations: 96.3 kB / 21.73 MB, free: 2.707 MB / 18.57 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.00216/0.00216, allocations: 164.5 kB / 25.02 MB, free: 8.945 MB / 18.57 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.379/1.379, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.093e-05, allocations: 10.11 kB / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary): time 0.01463/0.01466, allocations: 10.17 MB / 260.6 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007088/0.02175, allocations: 3.06 MB / 263.6 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.02283, allocations: 39.88 kB / 263.6 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.02457, allocations: 0.6322 MB / 264.3 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.02674, allocations: 0.7597 MB / 265 MB, free: 9.082 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009591/0.0277, allocations: 399.4 kB / 265.4 MB, free: 8.691 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002978/0.03067, allocations: 2.334 MB / 267.8 MB, free: 6.344 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.03172, allocations: 0.6029 MB / 268.4 MB, free: 5.695 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.03379, allocations: 1.306 MB / 269.7 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.0348, allocations: 0.662 MB / 270.3 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000288/0.03509, allocations: 216 kB / 270.5 MB, free: 3.512 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004619/0.03555, allocations: 252 kB / 270.8 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004007/0.03595, allocations: 438.3 kB / 271.2 MB, free: 2.836 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008582/0.03681, allocations: 0.7015 MB / 271.9 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003152/0.03996, allocations: 2.679 MB / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.03997, allocations: 0 / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.03997, allocations: 0 / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.207e-05/0.04, allocations: 0 / 274.6 MB, free: 15.45 MB / 266.7 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.003796/0.0438, allocations: 2.025 MB / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.04385, allocations: 12.03 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.04487, allocations: 395.6 kB / 277 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.04675, allocations: 0.9992 MB / 278 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.04687, allocations: 115.5 kB / 278.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/0.04712, allocations: 160.3 kB / 278.3 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00294/0.05006, allocations: 1.596 MB / 279.9 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.1e-05/0.05011, allocations: 7.953 kB / 279.9 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.05025, allocations: 60 kB / 280 MB, free: 9.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/0.0503, allocations: 43.94 kB / 280 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.05238, allocations: 0.9707 MB / 281 MB, free: 8.891 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009368/0.06175, allocations: 5.81 MB / 286.8 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009529/0.0627, allocations: 368.9 kB / 287.1 MB, free: 2.375 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004794/0.06318, allocations: 206.3 kB / 287.3 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.072e-05/0.06322, allocations: 12.5 kB / 287.4 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006366/0.06386, allocations: 317.2 kB / 287.7 MB, free: 1.816 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 2.786e-06/0.06386, allocations: 0 / 287.7 MB, free: 1.816 MB / 266.7 MB Notification: Performance of matching and sorting (n=56): time 0.00397/0.06783, allocations: 1.56 MB / 289.2 MB, free: 228 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.06796, allocations: 158.7 kB / 289.4 MB, free: 32 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.06998, allocations: 1.122 MB / 290.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.507e-05/0.07004, allocations: 37.7 kB / 290.5 MB, free: 14.85 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008867/0.07092, allocations: 0.8928 MB / 291.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.07113, allocations: 214.3 kB / 291.6 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003414/0.07148, allocations: 218.7 kB / 291.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.07169, allocations: 345.9 kB / 292.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005276/0.07221, allocations: 264.2 kB / 292.4 MB, free: 12.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.07344, allocations: 0.9366 MB / 293.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.07512, allocations: 1.11 MB / 294.5 MB, free: 10.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.07513, allocations: 8 kB / 294.5 MB, free: 10.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002394/0.07753, allocations: 1.248 MB / 295.8 MB, free: 9.004 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.768e-05/0.07758, allocations: 41.69 kB / 295.8 MB, free: 8.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.712e-05/0.07761, allocations: 20 kB / 295.8 MB, free: 8.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002863/0.0779, allocations: 74.33 kB / 295.9 MB, free: 8.859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008514/0.07875, allocations: 263.6 kB / 296.1 MB, free: 8.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/0.08155, allocations: 2.528 MB / 298.7 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.08259, allocations: 71.88 kB / 298.7 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.912e-05/0.08267, allocations: 60 kB / 298.8 MB, free: 5.742 MB / 282.7 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.0006596/0.08333, allocations: 357.4 kB / 299.1 MB, free: 5.383 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.08354, allocations: 143.3 kB / 299.3 MB, free: 5.242 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.08467, allocations: 0.5341 MB / 299.8 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.08468, allocations: 11.94 kB / 299.8 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.08468, allocations: 0 / 299.8 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.08469, allocations: 3.984 kB / 299.8 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/0.0876, allocations: 1.552 MB / 301.4 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.0876, allocations: 4.406 kB / 301.4 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.08805, allocations: 107.9 kB / 301.5 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001903/0.08825, allocations: 49.64 kB / 301.5 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.043e-05/0.08829, allocations: 16 kB / 301.6 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002583/0.09087, allocations: 2.501 MB / 304.1 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.09087, allocations: 4 kB / 304.1 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.09267, allocations: 0.9182 MB / 305 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004548/0.09313, allocations: 167.2 kB / 305.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.09326, allocations: 16 kB / 305.2 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005284/0.09379, allocations: 31.97 kB / 305.2 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.09393, allocations: 55.8 kB / 305.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.09397, allocations: 20 kB / 305.3 MB, free: 14.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001263/0.09523, allocations: 0.7161 MB / 306 MB, free: 14.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.09523, allocations: 4 kB / 306 MB, free: 14.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001201/0.09643, allocations: 299.9 kB / 306.3 MB, free: 13.85 MB / 298.7 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.0002543/0.09668, allocations: 127.1 kB / 306.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.09846, allocations: 0.9213 MB / 307.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.09846, allocations: 4 kB / 307.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008195/0.09928, allocations: 461.9 kB / 307.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.1008, allocations: 326 kB / 308.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/0.1052, allocations: 2.461 MB / 310.6 MB, free: 9.406 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.1062, allocations: 0.5922 MB / 311.2 MB, free: 8.777 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005718/0.1068, allocations: 150.1 kB / 311.3 MB, free: 8.629 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.107, allocations: 76.5 kB / 311.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of SimCode: time 1.112e-06/0.107, allocations: 3.938 kB / 311.4 MB, free: 8.551 MB / 298.7 MB Notification: Performance of Templates: time 0.03023/0.1372, allocations: 14.34 MB / 325.7 MB, free: 10.24 MB / 314.7 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.070352540933527]