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.001463/0.001463, allocations: 124.5 kB / 18.46 MB, free: 4.578 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.00154/0.00154, allocations: 190.6 kB / 21.4 MB, free: 1.648 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.369/1.369, allocations: 225.6 MB / 249.8 MB, free: 3.598 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 0.001427/0.001427, allocations: 51.92 kB / 366.9 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08626/0.08769, allocations: 52.14 MB / 419 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006881/0.09457, allocations: 5.774 MB / 424.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.09655, allocations: 1.172 MB / 425.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002688/0.09682, allocations: 31.81 kB / 426 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003544/0.09718, allocations: 170.4 kB / 426.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004992/0.09768, allocations: 277.5 kB / 426.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.0981, allocations: 215.7 kB / 426.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.09919, allocations: 1.064 MB / 427.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005834/0.09977, allocations: 402.5 kB / 428.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004384/0.1002, allocations: 414.6 kB / 428.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005924/0.1008, allocations: 481.8 kB / 429 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.1009, allocations: 100 kB / 429.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.1011, allocations: 96 kB / 429.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.1013, allocations: 215.3 kB / 429.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004705/0.1018, allocations: 0.5054 MB / 429.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.1029, allocations: 1.105 MB / 431 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1029, allocations: 7.938 kB / 431 MB, free: 15.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1029, allocations: 0 / 431 MB, free: 15.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.1029, allocations: 0 / 431 MB, free: 15.97 MB / 366.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.002038/0.105, allocations: 1.262 MB / 432.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.105, allocations: 8.031 kB / 432.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.1052, allocations: 112.3 kB / 432.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006505/0.1058, allocations: 463.4 kB / 432.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.814e-05/0.1059, allocations: 66.38 kB / 432.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.106, allocations: 104.3 kB / 433 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.1074, allocations: 0.8677 MB / 433.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.1074, allocations: 4 kB / 433.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-05/0.1075, allocations: 44 kB / 433.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.1075, allocations: 20 kB / 433.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.1086, allocations: 0.57 MB / 434.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004366/0.1129, allocations: 2.954 MB / 437.4 MB, free: 9.281 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000427/0.1134, allocations: 259.1 kB / 437.7 MB, free: 9.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/0.1137, allocations: 240.7 kB / 437.9 MB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.1138, allocations: 8 kB / 437.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.1138, allocations: 38.56 kB / 438 MB, free: 8.727 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.833e-06/0.1138, allocations: 0 / 438 MB, free: 8.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0015/0.1153, allocations: 0.6512 MB / 438.6 MB, free: 8.047 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.1153, allocations: 59.41 kB / 438.7 MB, free: 7.977 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005939/0.1159, allocations: 0.5103 MB / 439.2 MB, free: 7.457 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.116, allocations: 37.7 kB / 439.2 MB, free: 7.414 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/0.1163, allocations: 0.4914 MB / 439.7 MB, free: 6.914 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.1165, allocations: 166.6 kB / 439.9 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.1166, allocations: 130.6 kB / 440 MB, free: 6.613 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1168, allocations: 370.7 kB / 440.4 MB, free: 6.242 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.1171, allocations: 173.9 kB / 440.5 MB, free: 6.074 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005161/0.1176, allocations: 453.6 kB / 441 MB, free: 5.504 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008811/0.1185, allocations: 0.6478 MB / 441.6 MB, free: 4.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.1185, allocations: 4 kB / 441.6 MB, free: 4.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001241/0.1198, allocations: 0.7652 MB / 442.4 MB, free: 3.953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1198, allocations: 8 kB / 442.4 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.1198, allocations: 8 kB / 442.4 MB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002842/0.1201, allocations: 84.97 kB / 442.5 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000652/0.1207, allocations: 195.6 kB / 442.7 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.1228, allocations: 2.006 MB / 444.7 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/0.1233, allocations: 87.36 kB / 444.8 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.1233, allocations: 36.34 kB / 444.8 MB, free: 1.391 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.0002772/0.1236, allocations: 217.5 kB / 445 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.586e-05/0.1237, allocations: 55.67 kB / 445.1 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.1238, allocations: 73.44 kB / 445.2 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1238, allocations: 4 kB / 445.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1238, allocations: 0 / 445.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1238, allocations: 3.984 kB / 445.2 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007745/0.1246, allocations: 0.6532 MB / 445.8 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1246, allocations: 4 kB / 445.8 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.125, allocations: 99.86 kB / 445.9 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002016/0.1252, allocations: 68.8 kB / 446 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.1252, allocations: 8 kB / 446 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1597/0.2849, allocations: 1.981 MB / 448 MB, free: 28.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2849, allocations: 1.828 kB / 448 MB, free: 28.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008134/0.2857, allocations: 0.6585 MB / 448.6 MB, free: 28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2858, allocations: 136.5 kB / 448.8 MB, free: 27.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.811e-05/0.2859, allocations: 15 kB / 448.8 MB, free: 27.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.2863, allocations: 42.12 kB / 448.8 MB, free: 27.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.2864, allocations: 29.34 kB / 448.9 MB, free: 27.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.2864, allocations: 17.5 kB / 448.9 MB, free: 27.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002999/0.2867, allocations: 346.7 kB / 449.2 MB, free: 27.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2867, allocations: 0 / 449.2 MB, free: 27.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006801/0.2874, allocations: 247.9 kB / 449.4 MB, free: 27.81 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.0001049/0.2875, allocations: 119.2 kB / 449.6 MB, free: 27.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007658/0.2882, allocations: 0.5583 MB / 450.1 MB, free: 27.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2882, allocations: 3.172 kB / 450.1 MB, free: 27.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.2886, allocations: 293.8 kB / 450.4 MB, free: 27.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.2891, allocations: 123.1 kB / 450.5 MB, free: 27.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.2908, allocations: 1.451 MB / 452 MB, free: 26.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.2912, allocations: 0.9333 MB / 452.9 MB, free: 26.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.2913, allocations: 43.88 kB / 453 MB, free: 26.06 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2913, allocations: 0 / 453 MB, free: 26.06 MB / 366.1 MB Notification: Performance of Templates: time 0.01389/0.3052, allocations: 11.1 MB / 464.1 MB, free: 23.53 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.792703965911642]