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.00131/0.00131, allocations: 112 kB / 20.43 MB, free: 1.449 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.001467/0.001467, allocations: 188.4 kB / 23.72 MB, free: 4.684 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.404/1.404, allocations: 225.6 MB / 252.5 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 55.92 kB / 370.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.26, allocations: 52.18 MB / 422.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007408/0.2674, allocations: 5.788 MB / 428.5 MB, free: 8.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.27, allocations: 1.172 MB / 429.6 MB, free: 7.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004172/0.2704, allocations: 19.94 kB / 429.7 MB, free: 7.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.2708, allocations: 174.3 kB / 429.8 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005603/0.2714, allocations: 285.4 kB / 430.1 MB, free: 7.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.2718, allocations: 219.7 kB / 430.3 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001134/0.273, allocations: 1.064 MB / 431.4 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005938/0.2736, allocations: 399 kB / 431.8 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004495/0.274, allocations: 422.6 kB / 432.2 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006145/0.2746, allocations: 485.8 kB / 432.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.2748, allocations: 100 kB / 432.8 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.2749, allocations: 96 kB / 432.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.2751, allocations: 223.2 kB / 433.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004719/0.2756, allocations: 0.4977 MB / 433.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.2767, allocations: 1.109 MB / 434.7 MB, free: 2.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2767, allocations: 0 / 434.7 MB, free: 2.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2767, allocations: 4 kB / 434.7 MB, free: 2.539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.2768, allocations: 0 / 434.7 MB, free: 2.539 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.002064/0.2788, allocations: 1.194 MB / 435.9 MB, free: 1.309 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.2789, allocations: 11.97 kB / 435.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001654/0.279, allocations: 148.1 kB / 436 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.2792, allocations: 108.3 kB / 436.1 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006905/0.2799, allocations: 393.6 kB / 436.5 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.924e-05/0.28, allocations: 82.31 kB / 436.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.2801, allocations: 96.33 kB / 436.7 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.2814, allocations: 0.8676 MB / 437.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.2815, allocations: 0 / 437.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-05/0.2815, allocations: 44 kB / 437.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.2816, allocations: 27.94 kB / 437.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.2826, allocations: 0.57 MB / 438.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004513/0.2871, allocations: 2.868 MB / 441.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.2875, allocations: 265.7 kB / 441.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003616/0.2879, allocations: 232.8 kB / 441.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.2879, allocations: 7.984 kB / 441.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.2879, allocations: 38.56 kB / 441.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.375e-06/0.2879, allocations: 0 / 441.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00147/0.2894, allocations: 0.5721 MB / 442.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.2895, allocations: 67.28 kB / 442.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006048/0.2901, allocations: 0.5065 MB / 442.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/0.2901, allocations: 37.7 kB / 442.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.2905, allocations: 0.4914 MB / 443.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.2906, allocations: 166.6 kB / 443.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.2908, allocations: 130.6 kB / 443.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.291, allocations: 366.8 kB / 443.9 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.2913, allocations: 173.9 kB / 444.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/0.2919, allocations: 445.6 kB / 444.5 MB, free: 8.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008686/0.2928, allocations: 0.6586 MB / 445.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.2928, allocations: 0 / 445.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001246/0.294, allocations: 0.756 MB / 445.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.2941, allocations: 11.94 kB / 446 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.264e-05/0.2941, allocations: 11.98 kB / 446 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003038/0.2944, allocations: 88.75 kB / 446.1 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006579/0.2951, allocations: 195.8 kB / 446.2 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.2971, allocations: 1.903 MB / 448.1 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/0.2976, allocations: 91.3 kB / 448.2 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.2977, allocations: 35.94 kB / 448.3 MB, free: 4.27 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.0003114/0.298, allocations: 209.7 kB / 448.5 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.2981, allocations: 59.67 kB / 448.5 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.2982, allocations: 65.5 kB / 448.6 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2982, allocations: 4 kB / 448.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.2982, allocations: 4 kB / 448.6 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.2982, allocations: 3.984 kB / 448.6 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007832/0.299, allocations: 0.621 MB / 449.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.299, allocations: 0 / 449.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004187/0.2994, allocations: 99.86 kB / 449.3 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002219/0.2996, allocations: 72.73 kB / 449.4 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.2997, allocations: 12.28 kB / 449.4 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/0.3016, allocations: 1.888 MB / 451.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.3016, allocations: 0 / 451.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009876/0.3026, allocations: 0.6546 MB / 452 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.3027, allocations: 59.61 kB / 452 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.387e-05/0.3028, allocations: 12.06 kB / 452 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.3031, allocations: 39.97 kB / 452.1 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/0.3032, allocations: 35.88 kB / 452.1 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.3032, allocations: 20.12 kB / 452.1 MB, free: 244 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004049/0.3036, allocations: 346.9 kB / 452.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3036, allocations: 0 / 452.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007684/0.3044, allocations: 247.4 kB / 452.7 MB, free: 15.66 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.00133/0.3057, allocations: 1.22 MB / 453.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.3068, allocations: 0.5566 MB / 454.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3068, allocations: 0 / 454.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004762/0.3072, allocations: 311.9 kB / 454.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.3078, allocations: 114 kB / 454.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007551/0.3153, allocations: 5.494 MB / 460.4 MB, free: 7.574 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006132/0.316, allocations: 0.922 MB / 461.3 MB, free: 6.625 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002698/0.3162, allocations: 73.2 kB / 461.4 MB, free: 6.551 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003308/0.3166, allocations: 267.3 kB / 461.6 MB, free: 6.289 MB / 366.1 MB Notification: Performance of SimCode: time 1.021e-06/0.3166, allocations: 0 / 461.6 MB, free: 6.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05259/0.3692, allocations: 13.42 MB / 475.1 MB, free: 9.074 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.24, allocations: 6.719 kB / 475.1 MB, free: 9.074 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.799160952912644]