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.001344/0.001344, allocations: 100 kB / 21.18 MB, free: 0.6484 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.001514/0.001514, allocations: 184.9 kB / 24.45 MB, free: 3.961 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.457/1.457, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.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 0.001774/0.001774, allocations: 51.91 kB / 371.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2852, allocations: 52.18 MB / 423.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007016/0.2922, allocations: 5.068 MB / 428.9 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002688/0.2949, allocations: 1.137 MB / 430.1 MB, free: 8.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007882/0.2957, allocations: 19.94 kB / 430.1 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000555/0.2963, allocations: 178.3 kB / 430.3 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007699/0.297, allocations: 277.4 kB / 430.5 MB, free: 7.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.2975, allocations: 223.7 kB / 430.8 MB, free: 7.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.2986, allocations: 1.06 MB / 431.8 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005845/0.2992, allocations: 382.7 kB / 432.2 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004292/0.2996, allocations: 430.6 kB / 432.6 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005357/0.3002, allocations: 398 kB / 433 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.3003, allocations: 100 kB / 433.1 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.3005, allocations: 100 kB / 433.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.3007, allocations: 223.2 kB / 433.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000406/0.3011, allocations: 434.1 kB / 433.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.3022, allocations: 1.116 MB / 435 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3022, allocations: 0 / 435 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3022, allocations: 0 / 435 MB, free: 3.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.3022, allocations: 0 / 435 MB, free: 3.273 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001977/0.3042, allocations: 1.187 MB / 436.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3042, allocations: 8.031 kB / 436.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.3044, allocations: 112.3 kB / 436.3 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007176/0.3051, allocations: 409.5 kB / 436.7 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.108e-05/0.3052, allocations: 74.31 kB / 436.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.3053, allocations: 96.33 kB / 436.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.3068, allocations: 1.144 MB / 438 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.3068, allocations: 3.938 kB / 438 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.507e-05/0.3069, allocations: 44 kB / 438 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.3069, allocations: 20 kB / 438 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.308, allocations: 0.5661 MB / 438.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004129/0.3121, allocations: 2.553 MB / 441.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.3125, allocations: 264.4 kB / 441.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.3129, allocations: 229.2 kB / 441.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.3129, allocations: 4 kB / 441.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.3129, allocations: 38.56 kB / 441.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.145e-06/0.3129, allocations: 0 / 441.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001402/0.3143, allocations: 0.5759 MB / 442.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.3144, allocations: 55.41 kB / 442.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005536/0.3149, allocations: 0.4899 MB / 442.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.315, allocations: 41.64 kB / 442.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/0.3153, allocations: 0.4991 MB / 443.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.3155, allocations: 162.6 kB / 443.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.3156, allocations: 138.6 kB / 443.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.3158, allocations: 366.7 kB / 444 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.3161, allocations: 173.9 kB / 444.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.3167, allocations: 457.3 kB / 444.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008409/0.3175, allocations: 0.6393 MB / 445.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.607e-06/0.3175, allocations: 8 kB / 445.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001283/0.3188, allocations: 0.7558 MB / 446 MB, free: 7.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.3188, allocations: 8 kB / 446 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.3188, allocations: 8 kB / 446 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003047/0.3191, allocations: 89.03 kB / 446.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/0.3198, allocations: 195.7 kB / 446.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.322, allocations: 1.852 MB / 448.2 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005268/0.3225, allocations: 91.34 kB / 448.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.178e-05/0.3226, allocations: 32 kB / 448.3 MB, free: 5.242 MB / 350.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.000324/0.3229, allocations: 219.9 kB / 448.5 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-05/0.323, allocations: 55.67 kB / 448.5 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.3231, allocations: 69.19 kB / 448.6 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3231, allocations: 4 kB / 448.6 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3231, allocations: 4.062 kB / 448.6 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3231, allocations: 3.938 kB / 448.6 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006467/0.3238, allocations: 460.8 kB / 449.1 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3238, allocations: 7.922 kB / 449.1 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.3242, allocations: 95.94 kB / 449.2 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002313/0.3244, allocations: 76.95 kB / 449.3 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.3245, allocations: 12 kB / 449.3 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/0.3266, allocations: 1.842 MB / 451.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3266, allocations: 0 / 451.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.3276, allocations: 0.6548 MB / 451.8 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.3278, allocations: 55.66 kB / 451.8 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-05/0.3279, allocations: 15.88 kB / 451.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/0.3283, allocations: 43.97 kB / 451.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.533e-05/0.3284, allocations: 31.94 kB / 451.9 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.3284, allocations: 12 kB / 451.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004021/0.3288, allocations: 326.9 kB / 452.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3288, allocations: 0 / 452.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008656/0.3297, allocations: 247.4 kB / 452.5 MB, free: 0.8867 MB / 350.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.0001699/0.3298, allocations: 115.2 kB / 452.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.3309, allocations: 0.554 MB / 453.1 MB, free: 208 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.3309, allocations: 8.406 kB / 453.2 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005018/0.3314, allocations: 302.2 kB / 453.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005517/0.3319, allocations: 109.3 kB / 453.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.3345, allocations: 1.45 MB / 455 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.3348, allocations: 335.8 kB / 455.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.335, allocations: 43.44 kB / 455.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.335, allocations: 0 / 455.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of Templates: time 0.01631/0.3513, allocations: 11.12 MB / 466.5 MB, free: 2.777 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/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: 8.093277017120272]