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.001419/0.001419, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001236/0.001236, allocations: 192.8 kB / 24.5 MB, free: 4.02 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.41/1.41, allocations: 225.7 MB / 253.3 MB, free: 13.04 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 39.94 kB / 371.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2669, allocations: 52.18 MB / 423.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007142/0.274, allocations: 5.784 MB / 429.2 MB, free: 8.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.2764, allocations: 1.18 MB / 430.4 MB, free: 7.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006927/0.2771, allocations: 27.94 kB / 430.5 MB, free: 7.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005482/0.2777, allocations: 166.4 kB / 430.6 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008634/0.2785, allocations: 281.4 kB / 430.9 MB, free: 7.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005878/0.2791, allocations: 227.7 kB / 431.1 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.2805, allocations: 1.06 MB / 432.2 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000627/0.2811, allocations: 403 kB / 432.6 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005293/0.2817, allocations: 422.7 kB / 433 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000609/0.2823, allocations: 477.9 kB / 433.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.2824, allocations: 100 kB / 433.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.2826, allocations: 96 kB / 433.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.2827, allocations: 223.2 kB / 433.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005295/0.2833, allocations: 0.4977 MB / 434.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.2845, allocations: 1.11 MB / 435.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.2845, allocations: 0 / 435.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.2846, allocations: 0 / 435.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.121e-05/0.2846, allocations: 0 / 435.5 MB, free: 2.66 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.002145/0.2867, allocations: 1.202 MB / 436.7 MB, free: 1.422 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.2868, allocations: 8.031 kB / 436.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.261e-05/0.2868, allocations: 26.19 kB / 436.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.2869, allocations: 144.1 kB / 436.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.2871, allocations: 108.3 kB / 436.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/0.2878, allocations: 401.5 kB / 437.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.084e-05/0.2879, allocations: 74.38 kB / 437.4 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.288, allocations: 96.33 kB / 437.5 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.2895, allocations: 0.8713 MB / 438.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.2895, allocations: 3.938 kB / 438.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.749e-05/0.2896, allocations: 40 kB / 438.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.2896, allocations: 27.98 kB / 438.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.2906, allocations: 0.57 MB / 439 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004553/0.2951, allocations: 2.872 MB / 441.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004441/0.2956, allocations: 262.4 kB / 442.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003492/0.2959, allocations: 228.8 kB / 442.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.296, allocations: 8 kB / 442.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.296, allocations: 42.55 kB / 442.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.555e-06/0.296, allocations: 0 / 442.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001497/0.2975, allocations: 0.5721 MB / 443 MB, free: 10.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.2976, allocations: 63.34 kB / 443 MB, free: 10.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000637/0.2982, allocations: 0.5065 MB / 443.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.429e-05/0.2982, allocations: 33.7 kB / 443.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000391/0.2986, allocations: 0.4914 MB / 444.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.2988, allocations: 166.6 kB / 444.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.299, allocations: 134.6 kB / 444.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.2993, allocations: 366.8 kB / 444.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.2996, allocations: 177.9 kB / 444.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006133/0.3002, allocations: 449.5 kB / 445.3 MB, free: 8.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.3012, allocations: 0.6508 MB / 446 MB, free: 7.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.3012, allocations: 0 / 446 MB, free: 7.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001406/0.3027, allocations: 0.7634 MB / 446.8 MB, free: 6.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.3027, allocations: 8 kB / 446.8 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.3027, allocations: 8 kB / 446.8 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000344/0.303, allocations: 89.25 kB / 446.9 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007157/0.3038, allocations: 199.6 kB / 447.1 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.3059, allocations: 1.895 MB / 449 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006605/0.3066, allocations: 99.23 kB / 449 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.651e-05/0.3067, allocations: 32 kB / 449.1 MB, free: 4.363 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.0004114/0.3071, allocations: 205.6 kB / 449.3 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.3072, allocations: 63.66 kB / 449.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.3073, allocations: 61.52 kB / 449.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3073, allocations: 7.938 kB / 449.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.3073, allocations: 8.062 kB / 449.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.3073, allocations: 7.922 kB / 449.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008464/0.3082, allocations: 0.6133 MB / 450 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3082, allocations: 3.984 kB / 450 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004086/0.3086, allocations: 87.94 kB / 450.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002213/0.3088, allocations: 76.73 kB / 450.2 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.3088, allocations: 12 kB / 450.2 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.3107, allocations: 1.892 MB / 452.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3107, allocations: 0 / 452.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.3118, allocations: 0.6586 MB / 452.8 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.3119, allocations: 63.55 kB / 452.8 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.312, allocations: 8 kB / 452.8 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004035/0.3124, allocations: 43.97 kB / 452.9 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/0.3124, allocations: 31.94 kB / 452.9 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.3125, allocations: 15.98 kB / 452.9 MB, free: 336 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004281/0.3129, allocations: 342.9 kB / 453.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3129, allocations: 0 / 453.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008667/0.3138, allocations: 247.4 kB / 453.5 MB, free: 15.75 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.001429/0.3152, allocations: 1.222 MB / 454.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.3163, allocations: 0.5578 MB / 455.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3163, allocations: 0 / 455.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004916/0.3168, allocations: 310.7 kB / 455.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006172/0.3174, allocations: 118.6 kB / 455.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007336/0.3248, allocations: 5.487 MB / 461.2 MB, free: 7.664 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005747/0.3253, allocations: 0.9337 MB / 462.1 MB, free: 6.703 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002869/0.3256, allocations: 69.22 kB / 462.2 MB, free: 6.637 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.3259, allocations: 267.3 kB / 462.4 MB, free: 6.375 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3259, allocations: 3.938 kB / 462.5 MB, free: 6.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04246/0.3684, allocations: 13.45 MB / 475.9 MB, free: 9.137 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.1, allocations: 6.5 kB / 475.9 MB, free: 9.137 MB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 52.5] 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: 14.94801692495821]