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.00143/0.00143, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001568/0.001568, allocations: 209.1 kB / 23.73 MB, free: 4.387 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.585/1.585, allocations: 230.6 MB / 257.5 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.002073/0.002073, allocations: 47.92 kB / 378.3 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2974, allocations: 53.37 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006717/0.3042, allocations: 5.101 MB / 436.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002718/0.3069, allocations: 1.172 MB / 437.9 MB, free: 408 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005519/0.3074, allocations: 19.94 kB / 437.9 MB, free: 388 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004411/0.3079, allocations: 170.4 kB / 438.1 MB, free: 216 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006718/0.3085, allocations: 277.6 kB / 438.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.3091, allocations: 227.7 kB / 438.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.3103, allocations: 1.06 MB / 439.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007378/0.311, allocations: 413.4 kB / 440 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007213/0.3117, allocations: 422.6 kB / 440.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007613/0.3125, allocations: 477.9 kB / 440.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001848/0.3127, allocations: 96 kB / 441 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.3129, allocations: 100 kB / 441.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.3131, allocations: 219.3 kB / 441.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005394/0.3137, allocations: 434.1 kB / 441.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.3152, allocations: 1.112 MB / 442.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3152, allocations: 8 kB / 442.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.3152, allocations: 0 / 442.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.3153, allocations: 0 / 442.9 MB, free: 11.39 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.002305/0.3176, allocations: 1.179 MB / 444.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.3176, allocations: 8.031 kB / 444.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.3178, allocations: 116.3 kB / 444.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000731/0.3185, allocations: 397.5 kB / 444.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.387e-05/0.3186, allocations: 70.38 kB / 444.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.3187, allocations: 92.38 kB / 444.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.3205, allocations: 1.152 MB / 445.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.3205, allocations: 0 / 445.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.289e-05/0.3206, allocations: 44 kB / 445.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.3206, allocations: 24 kB / 445.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.3217, allocations: 0.5699 MB / 446.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004307/0.326, allocations: 2.553 MB / 449.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004479/0.3264, allocations: 261.6 kB / 449.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.3268, allocations: 229.2 kB / 449.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.3268, allocations: 4 kB / 449.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.3269, allocations: 38.56 kB / 449.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.395e-06/0.3269, allocations: 4 kB / 449.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001471/0.3283, allocations: 0.5759 MB / 450.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.3284, allocations: 59.34 kB / 450.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005676/0.329, allocations: 0.4899 MB / 450.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.083e-05/0.329, allocations: 37.7 kB / 450.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.3293, allocations: 0.4991 MB / 451.2 MB, free: 2.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.3295, allocations: 166.6 kB / 451.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.3296, allocations: 134.6 kB / 451.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3298, allocations: 366.7 kB / 451.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.3301, allocations: 165.9 kB / 452.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005223/0.3306, allocations: 457.5 kB / 452.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008706/0.3315, allocations: 0.6469 MB / 453.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.3315, allocations: 11.94 kB / 453.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001266/0.3328, allocations: 0.7523 MB / 453.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3328, allocations: 12 kB / 453.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.3328, allocations: 8 kB / 453.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/0.3331, allocations: 80.81 kB / 454 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006821/0.3338, allocations: 199.6 kB / 454.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.3357, allocations: 1.868 MB / 456.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.3362, allocations: 79.41 kB / 456.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-05/0.3363, allocations: 39.98 kB / 456.2 MB, free: 13.36 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.0002952/0.3366, allocations: 224.7 kB / 456.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.284e-05/0.3367, allocations: 59.62 kB / 456.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.3368, allocations: 65.19 kB / 456.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.3368, allocations: 8 kB / 456.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3368, allocations: 0 / 456.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.3368, allocations: 3.984 kB / 456.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006245/0.3374, allocations: 456.8 kB / 457 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3374, allocations: 0 / 457 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/0.3378, allocations: 99.88 kB / 457.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002103/0.338, allocations: 72.8 kB / 457.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.3381, allocations: 7.984 kB / 457.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/0.34, allocations: 1.853 MB / 459 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.34, allocations: 0 / 459 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.3411, allocations: 0.6545 MB / 459.7 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.3412, allocations: 55.66 kB / 459.7 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.3413, allocations: 12 kB / 459.7 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.3417, allocations: 43.97 kB / 459.8 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.3417, allocations: 31.94 kB / 459.8 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.3418, allocations: 12.12 kB / 459.8 MB, free: 9.566 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003829/0.3421, allocations: 326.9 kB / 460.1 MB, free: 9.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3421, allocations: 0 / 460.1 MB, free: 9.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008852/0.343, allocations: 255.4 kB / 460.4 MB, free: 9 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.0001554/0.3432, allocations: 111.2 kB / 460.5 MB, free: 8.883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.3443, allocations: 0.5639 MB / 461.1 MB, free: 8.305 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/0.3444, allocations: 6 kB / 461.1 MB, free: 8.301 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004987/0.3449, allocations: 302.3 kB / 461.4 MB, free: 7.992 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005539/0.3454, allocations: 97.92 kB / 461.5 MB, free: 7.898 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002615/0.348, allocations: 1.425 MB / 462.9 MB, free: 6.441 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.3484, allocations: 339.8 kB / 463.2 MB, free: 6.082 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.3486, allocations: 64.92 kB / 463.3 MB, free: 6.016 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.957e-05/0.3487, allocations: 35.44 kB / 463.3 MB, free: 5.98 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3487, allocations: 0 / 463.3 MB, free: 5.98 MB / 366.1 MB Notification: Performance of Templates: time 0.0159/0.3646, allocations: 7.961 MB / 471.3 MB, free: 14.14 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/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: 5.118988244794309]