Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.001808/0.001808, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002182/0.002182, allocations: 214.2 kB / 24.48 MB, free: 3.84 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.474/1.474, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 55.92 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3164, allocations: 53.37 MB / 432.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007061/0.3235, allocations: 5.08 MB / 437.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.326, allocations: 1.172 MB / 438.6 MB, free: 424 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003428/0.3264, allocations: 27.88 kB / 438.7 MB, free: 396 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003883/0.3267, allocations: 170.4 kB / 438.8 MB, free: 224 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005324/0.3273, allocations: 281.5 kB / 439.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.3277, allocations: 223.7 kB / 439.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.3288, allocations: 1.06 MB / 440.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006428/0.3295, allocations: 386.5 kB / 440.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004471/0.3299, allocations: 422.6 kB / 441.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000546/0.3305, allocations: 397.9 kB / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.3306, allocations: 103.9 kB / 441.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.3308, allocations: 100 kB / 441.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.331, allocations: 223.2 kB / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004221/0.3314, allocations: 434.1 kB / 442.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.3326, allocations: 1.119 MB / 443.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3326, allocations: 0 / 443.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3326, allocations: 0 / 443.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.3326, allocations: 0 / 443.5 MB, free: 11.49 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002044/0.3346, allocations: 1.183 MB / 444.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3347, allocations: 8.031 kB / 444.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.3349, allocations: 108.3 kB / 444.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007243/0.3356, allocations: 397.5 kB / 445.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.363e-05/0.3356, allocations: 74.38 kB / 445.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.3358, allocations: 96.38 kB / 445.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.3374, allocations: 1.152 MB / 446.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.3374, allocations: 0 / 446.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.908e-05/0.3375, allocations: 43.98 kB / 446.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.3375, allocations: 27.94 kB / 446.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.3385, allocations: 0.5661 MB / 447.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004217/0.3427, allocations: 2.553 MB / 449.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.3432, allocations: 265.8 kB / 450 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003755/0.3436, allocations: 229.2 kB / 450.2 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.3436, allocations: 4 kB / 450.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.3436, allocations: 38.56 kB / 450.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.195e-06/0.3436, allocations: 0 / 450.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001468/0.3451, allocations: 0.5837 MB / 450.8 MB, free: 3.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.3451, allocations: 55.41 kB / 450.9 MB, free: 3.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005993/0.3457, allocations: 0.4938 MB / 451.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.3458, allocations: 33.7 kB / 451.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.3461, allocations: 0.4952 MB / 451.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.3463, allocations: 162.6 kB / 452.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.3465, allocations: 142.6 kB / 452.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.3467, allocations: 362.7 kB / 452.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.347, allocations: 169.9 kB / 452.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005634/0.3475, allocations: 453.6 kB / 453.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009035/0.3484, allocations: 0.6546 MB / 453.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.3484, allocations: 4 kB / 453.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001287/0.3497, allocations: 0.752 MB / 454.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.3498, allocations: 12 kB / 454.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.3498, allocations: 8 kB / 454.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002888/0.3501, allocations: 84.94 kB / 454.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006823/0.3507, allocations: 195.7 kB / 454.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.3529, allocations: 1.86 MB / 456.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004866/0.3534, allocations: 79.41 kB / 456.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/0.3534, allocations: 36 kB / 456.8 MB, free: 13.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003198/0.3537, allocations: 225.4 kB / 457.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.353e-05/0.3538, allocations: 59.62 kB / 457.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.896e-05/0.3539, allocations: 57.2 kB / 457.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3539, allocations: 4 kB / 457.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.3539, allocations: 4 kB / 457.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.3539, allocations: 8.047 kB / 457.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006402/0.3546, allocations: 456.8 kB / 457.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3546, allocations: 0 / 457.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004118/0.355, allocations: 103.9 kB / 457.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002089/0.3552, allocations: 73.02 kB / 457.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.3552, allocations: 12 kB / 457.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/0.3572, allocations: 1.852 MB / 459.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3572, allocations: 3.938 kB / 459.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.3582, allocations: 0.6547 MB / 460.3 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.3583, allocations: 51.66 kB / 460.4 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.08e-05/0.3584, allocations: 11.94 kB / 460.4 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.3588, allocations: 47.97 kB / 460.4 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.3589, allocations: 31.94 kB / 460.5 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.3589, allocations: 15.98 kB / 460.5 MB, free: 9.656 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004142/0.3593, allocations: 318.9 kB / 460.8 MB, free: 9.348 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3593, allocations: 0 / 460.8 MB, free: 9.348 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008442/0.3601, allocations: 255.4 kB / 461.1 MB, free: 9.098 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001667/0.3603, allocations: 111.2 kB / 461.2 MB, free: 8.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.3614, allocations: 0.5656 MB / 461.7 MB, free: 8.402 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3614, allocations: 256 / 461.7 MB, free: 8.402 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004901/0.3619, allocations: 310.6 kB / 462 MB, free: 8.086 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005355/0.3624, allocations: 102 kB / 462.1 MB, free: 7.988 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.3648, allocations: 1.45 MB / 463.6 MB, free: 6.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.3652, allocations: 339.8 kB / 463.9 MB, free: 6.141 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.3653, allocations: 39.44 kB / 463.9 MB, free: 6.102 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3653, allocations: 0 / 463.9 MB, free: 6.102 MB / 366.1 MB Notification: Performance of Templates: time 0.01581/0.3811, allocations: 11.13 MB / 475.1 MB, free: 10.98 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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: 8.126828022766858]