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.001343/0.001343, allocations: 112 kB / 20.43 MB, free: 1.457 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.001554/0.001554, allocations: 180.8 kB / 23.71 MB, free: 4.695 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.464/1.464, allocations: 225.6 MB / 252.5 MB, free: 13 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.001679/0.001679, allocations: 48.06 kB / 371 MB, free: 9.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2783, allocations: 52.18 MB / 423.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007787/0.2861, allocations: 5.796 MB / 429 MB, free: 8.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.2889, allocations: 1.172 MB / 430.1 MB, free: 7.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004561/0.2894, allocations: 19.94 kB / 430.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004934/0.2899, allocations: 174.3 kB / 430.3 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007679/0.2906, allocations: 277.4 kB / 430.6 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005703/0.2912, allocations: 219.7 kB / 430.8 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.2924, allocations: 1.064 MB / 431.9 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006159/0.293, allocations: 413.5 kB / 432.3 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004657/0.2935, allocations: 422.6 kB / 432.7 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006037/0.2941, allocations: 473.9 kB / 433.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.2942, allocations: 96 kB / 433.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.2944, allocations: 100 kB / 433.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.2946, allocations: 223.2 kB / 433.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004843/0.2951, allocations: 0.4977 MB / 434.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.2962, allocations: 1.105 MB / 435.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2962, allocations: 0 / 435.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2962, allocations: 0 / 435.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.2963, allocations: 0 / 435.2 MB, free: 2.582 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.00219/0.2984, allocations: 1.194 MB / 436.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2985, allocations: 12.03 kB / 436.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.2987, allocations: 108.3 kB / 436.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007055/0.2994, allocations: 401.6 kB / 436.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.428e-05/0.2994, allocations: 66.38 kB / 436.9 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.2996, allocations: 108.2 kB / 437 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.3011, allocations: 0.8678 MB / 437.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.3011, allocations: 0 / 437.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-05/0.3012, allocations: 47.98 kB / 437.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.3012, allocations: 20 kB / 438 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.3023, allocations: 0.5738 MB / 438.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004585/0.3069, allocations: 2.872 MB / 441.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.3074, allocations: 266.4 kB / 441.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/0.3077, allocations: 228.8 kB / 441.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.3078, allocations: 8 kB / 441.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.3078, allocations: 38.56 kB / 441.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.974e-06/0.3078, allocations: 0 / 441.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001547/0.3093, allocations: 0.5759 MB / 442.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.3094, allocations: 59.34 kB / 442.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006837/0.3101, allocations: 0.5103 MB / 443.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.954e-05/0.3101, allocations: 37.7 kB / 443.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000355/0.3105, allocations: 0.4914 MB / 443.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.3106, allocations: 166.6 kB / 443.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.3108, allocations: 138.5 kB / 443.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002253/0.311, allocations: 366.8 kB / 444.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.3114, allocations: 173.9 kB / 444.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005533/0.3119, allocations: 453.5 kB / 444.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009361/0.3129, allocations: 0.6469 MB / 445.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.3129, allocations: 0 / 445.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001349/0.3142, allocations: 0.7597 MB / 446.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.3142, allocations: 8 kB / 446.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.3142, allocations: 8 kB / 446.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003133/0.3146, allocations: 93 kB / 446.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007067/0.3153, allocations: 195.7 kB / 446.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.3174, allocations: 1.903 MB / 448.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/0.3179, allocations: 95.36 kB / 448.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/0.318, allocations: 32 kB / 448.6 MB, free: 4.453 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.0003046/0.3183, allocations: 213.5 kB / 448.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.972e-05/0.3184, allocations: 59.67 kB / 448.9 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.3185, allocations: 61.5 kB / 448.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3185, allocations: 4 kB / 448.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3185, allocations: 0 / 448.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3185, allocations: 11.98 kB / 449 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008127/0.3193, allocations: 0.6132 MB / 449.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3193, allocations: 0 / 449.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004387/0.3198, allocations: 103.9 kB / 449.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002253/0.32, allocations: 68.73 kB / 449.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.32, allocations: 16 kB / 449.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.322, allocations: 1.884 MB / 451.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.322, allocations: 0 / 451.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.323, allocations: 0.6664 MB / 452.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.3231, allocations: 55.61 kB / 452.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.546e-05/0.3232, allocations: 12 kB / 452.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.3236, allocations: 43.97 kB / 452.4 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.448e-05/0.3237, allocations: 31.94 kB / 452.4 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.3237, allocations: 12 kB / 452.5 MB, free: 436 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004243/0.3241, allocations: 350.8 kB / 452.8 MB, free: 88 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3241, allocations: 0 / 452.8 MB, free: 88 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008961/0.325, allocations: 251.5 kB / 453 MB, free: 15.84 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.0001716/0.3252, allocations: 114.1 kB / 453.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.3264, allocations: 0.5655 MB / 453.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3264, allocations: 0 / 453.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005146/0.3269, allocations: 302.5 kB / 454 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006074/0.3275, allocations: 114.6 kB / 454.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.33, allocations: 1.413 MB / 455.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/0.3306, allocations: 0.9336 MB / 456.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002604/0.3309, allocations: 69.22 kB / 456.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.593e-05/0.331, allocations: 43.44 kB / 456.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.331, allocations: 3.938 kB / 456.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of Templates: time 0.01566/0.3466, allocations: 7.725 MB / 464.3 MB, free: 4.543 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/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.912738966755569]