Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 152.9 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 319 MB, free: 3.523 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.715e-05, allocations: 7.312 kB / 319 MB, free: 3.516 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.00562/0.005647, allocations: 5.07 MB / 324 MB, free: 108 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003383/0.00903, allocations: 1.142 MB / 325.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006773/0.009708, allocations: 22.06 kB / 325.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004531/0.01016, allocations: 170.1 kB / 325.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00089/0.01105, allocations: 295.3 kB / 325.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006696/0.01172, allocations: 222.2 kB / 325.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.0131, allocations: 1.105 MB / 327 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007173/0.01382, allocations: 388.8 kB / 327.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009877/0.01481, allocations: 0.6329 MB / 328 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005891/0.0154, allocations: 336.2 kB / 328.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.01554, allocations: 98.19 kB / 328.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.01574, allocations: 96.25 kB / 328.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.01596, allocations: 227 kB / 328.7 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004679/0.01643, allocations: 361.3 kB / 329.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.01795, allocations: 1.14 MB / 330.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.01796, allocations: 0 / 330.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.01796, allocations: 1.469 kB / 330.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.01798, allocations: 3.938 kB / 330.2 MB, free: 12.91 MB / 302.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.002351/0.02033, allocations: 1.17 MB / 331.4 MB, free: 12.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.02038, allocations: 10.05 kB / 331.4 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.02058, allocations: 110.8 kB / 331.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007331/0.02132, allocations: 400 kB / 331.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.038e-05/0.02141, allocations: 71.25 kB / 332 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.02155, allocations: 94.08 kB / 332.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.02316, allocations: 1.15 MB / 333.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.02318, allocations: 5.5 kB / 333.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.545e-05/0.02327, allocations: 38.69 kB / 333.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/0.0233, allocations: 26.28 kB / 333.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.02443, allocations: 0.5725 MB / 333.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004546/0.02898, allocations: 2.548 MB / 336.4 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.02945, allocations: 268.8 kB / 336.7 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003678/0.02982, allocations: 235.8 kB / 336.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.02984, allocations: 4.125 kB / 336.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.02989, allocations: 42.47 kB / 337 MB, free: 8.195 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.265e-06/0.02989, allocations: 0 / 337 MB, free: 8.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001514/0.0314, allocations: 0.5706 MB / 337.5 MB, free: 7.898 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.03145, allocations: 56.47 kB / 337.6 MB, free: 7.836 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006256/0.03208, allocations: 0.4993 MB / 338.1 MB, free: 7.516 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.659e-05/0.03213, allocations: 32.98 kB / 338.1 MB, free: 7.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.0325, allocations: 497.4 kB / 338.6 MB, free: 7.039 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.03264, allocations: 171.1 kB / 338.8 MB, free: 6.891 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.03285, allocations: 138.6 kB / 338.9 MB, free: 6.801 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.03304, allocations: 366.4 kB / 339.3 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.03336, allocations: 168.3 kB / 339.4 MB, free: 6.367 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/0.03392, allocations: 452.7 kB / 339.9 MB, free: 5.922 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008989/0.03482, allocations: 0.6468 MB / 340.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.03483, allocations: 2.812 kB / 340.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001351/0.03618, allocations: 0.7514 MB / 341.3 MB, free: 4.719 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.0362, allocations: 8.688 kB / 341.3 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.03622, allocations: 12 kB / 341.3 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003241/0.03654, allocations: 80.81 kB / 341.4 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007398/0.03728, allocations: 199.7 kB / 341.6 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.03942, allocations: 1.856 MB / 343.4 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006274/0.04004, allocations: 91.28 kB / 343.5 MB, free: 2.367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/0.04011, allocations: 32 kB / 343.5 MB, free: 2.336 MB / 302.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.0003847/0.04049, allocations: 217.5 kB / 343.7 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.0406, allocations: 63.67 kB / 343.8 MB, free: 2.051 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.04072, allocations: 61.19 kB / 343.9 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.04072, allocations: 4 kB / 343.9 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.04074, allocations: 0 / 343.9 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.04074, allocations: 7.922 kB / 343.9 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000702/0.04145, allocations: 464.8 kB / 344.3 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.04145, allocations: 0 / 344.3 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000447/0.04189, allocations: 99.88 kB / 344.4 MB, free: 1.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002364/0.04213, allocations: 80.95 kB / 344.5 MB, free: 1.316 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.04216, allocations: 15.98 kB / 344.5 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.04425, allocations: 1.833 MB / 346.4 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.04425, allocations: 3.938 kB / 346.4 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.04531, allocations: 0.6548 MB / 347 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.04543, allocations: 59.61 kB / 347.1 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.472e-05/0.04549, allocations: 8 kB / 347.1 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004422/0.04593, allocations: 48.03 kB / 347.1 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.394e-05/0.04603, allocations: 39.59 kB / 347.2 MB, free: 14.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.04606, allocations: 12 kB / 347.2 MB, free: 14.52 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004085/0.04646, allocations: 322.9 kB / 347.5 MB, free: 14.21 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.04646, allocations: 0 / 347.5 MB, free: 14.21 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009685/0.04743, allocations: 255.3 kB / 347.7 MB, free: 13.96 MB / 318.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.0001793/0.04761, allocations: 115.2 kB / 347.9 MB, free: 13.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.04869, allocations: 0.5647 MB / 348.4 MB, free: 13.26 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.04869, allocations: 0 / 348.4 MB, free: 13.26 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005124/0.0492, allocations: 302.4 kB / 348.7 MB, free: 12.95 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.04975, allocations: 102.6 kB / 348.8 MB, free: 12.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.05208, allocations: 1.299 MB / 350.1 MB, free: 11.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.05247, allocations: 339.9 kB / 350.5 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002302/0.0527, allocations: 64.88 kB / 350.5 MB, free: 11.1 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.984e-05/0.0528, allocations: 40.5 kB / 350.6 MB, free: 11.06 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.0528, allocations: 0 / 350.6 MB, free: 11.06 MB / 318.1 MB Notification: Performance of Templates: time 0.01417/0.06697, allocations: 6.701 MB / 357.3 MB, free: 4.469 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.680866599082947]