Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001233/0.001233, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 210.9 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 230.5 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 63.91 kB / 378.6 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3288, allocations: 53.39 MB / 431.9 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007453/0.3363, allocations: 5.105 MB / 437.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003205/0.3395, allocations: 1.172 MB / 438.2 MB, free: 452 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007428/0.3402, allocations: 23.94 kB / 438.2 MB, free: 428 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005189/0.3407, allocations: 166.4 kB / 438.4 MB, free: 260 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008194/0.3416, allocations: 273.6 kB / 438.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005952/0.3421, allocations: 227.7 kB / 438.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.3434, allocations: 1.06 MB / 440 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007384/0.3441, allocations: 406.9 kB / 440.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005433/0.3447, allocations: 426.6 kB / 440.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006037/0.3453, allocations: 477.9 kB / 441.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.3454, allocations: 100 kB / 441.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.3456, allocations: 96 kB / 441.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.3458, allocations: 223.3 kB / 441.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004415/0.3462, allocations: 426.2 kB / 442.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.3474, allocations: 1.12 MB / 443.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3474, allocations: 0 / 443.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3475, allocations: 0 / 443.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.3475, allocations: 3.984 kB / 443.2 MB, free: 11.43 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.002104/0.3496, allocations: 1.179 MB / 444.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.3496, allocations: 16.03 kB / 444.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.124e-05/0.3497, allocations: 22.19 kB / 444.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001784/0.3499, allocations: 148.1 kB / 444.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.35, allocations: 116.3 kB / 444.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007786/0.3508, allocations: 397.5 kB / 445.1 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.85e-05/0.3509, allocations: 70.31 kB / 445.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.351, allocations: 92.38 kB / 445.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.3527, allocations: 1.155 MB / 446.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.3527, allocations: 0 / 446.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.447e-05/0.3528, allocations: 40 kB / 446.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.3529, allocations: 20 kB / 446.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.3539, allocations: 0.5739 MB / 447 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004419/0.3583, allocations: 2.673 MB / 449.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.3588, allocations: 265 kB / 449.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004016/0.3592, allocations: 229.8 kB / 450.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.3592, allocations: 12 kB / 450.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.3593, allocations: 38.56 kB / 450.2 MB, free: 4.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.414e-06/0.3593, allocations: 3.938 kB / 450.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00162/0.3609, allocations: 0.5682 MB / 450.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.361, allocations: 59.34 kB / 450.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000745/0.3617, allocations: 0.5143 MB / 451.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.707e-05/0.3617, allocations: 33.7 kB / 451.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/0.3622, allocations: 0.4914 MB / 451.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.3624, allocations: 166.6 kB / 452 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.3626, allocations: 134.6 kB / 452.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002358/0.3628, allocations: 362.8 kB / 452.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.3631, allocations: 173.9 kB / 452.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000568/0.3637, allocations: 453.5 kB / 453.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008977/0.3646, allocations: 0.6508 MB / 453.8 MB, free: 236 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.3646, allocations: 0 / 453.8 MB, free: 236 kB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001241/0.3658, allocations: 0.7676 MB / 454.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.3658, allocations: 8 kB / 454.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.3659, allocations: 8 kB / 454.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003267/0.3662, allocations: 84.75 kB / 454.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006932/0.3669, allocations: 203.8 kB / 454.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/0.3691, allocations: 1.887 MB / 456.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/0.3696, allocations: 95.3 kB / 456.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/0.3697, allocations: 32 kB / 456.9 MB, free: 13.02 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.0003407/0.37, allocations: 213.6 kB / 457.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.3701, allocations: 63.61 kB / 457.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.3702, allocations: 61.52 kB / 457.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.3702, allocations: 4 kB / 457.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3702, allocations: 0 / 457.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.3702, allocations: 7.922 kB / 457.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007299/0.371, allocations: 0.5549 MB / 457.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.371, allocations: 4 kB / 457.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004183/0.3714, allocations: 99.88 kB / 457.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002179/0.3716, allocations: 68.8 kB / 457.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.3716, allocations: 8 kB / 457.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.3735, allocations: 1.868 MB / 459.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3735, allocations: 0 / 459.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009998/0.3745, allocations: 0.6663 MB / 460.5 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.3746, allocations: 59.61 kB / 460.5 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.022e-05/0.3747, allocations: 12 kB / 460.5 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.3751, allocations: 43.97 kB / 460.6 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.3752, allocations: 31.94 kB / 460.6 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.3752, allocations: 16.11 kB / 460.6 MB, free: 9.066 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004144/0.3756, allocations: 342.9 kB / 461 MB, free: 8.734 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3756, allocations: 0 / 461 MB, free: 8.734 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008539/0.3765, allocations: 255.4 kB / 461.2 MB, free: 8.484 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.001372/0.3779, allocations: 1.233 MB / 462.4 MB, free: 7.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.3791, allocations: 0.55 MB / 463 MB, free: 6.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3791, allocations: 0 / 463 MB, free: 6.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005463/0.3796, allocations: 310.7 kB / 463.3 MB, free: 6.344 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006242/0.3802, allocations: 118.7 kB / 463.4 MB, free: 6.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008116/0.3884, allocations: 5.494 MB / 468.9 MB, free: 400 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.3888, allocations: 336 kB / 469.2 MB, free: 36 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003157/0.3891, allocations: 69.22 kB / 469.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/0.3894, allocations: 263.3 kB / 469.6 MB, free: 15.71 MB / 382.1 MB Notification: Performance of SimCode: time 1.503e-06/0.3894, allocations: 0 / 469.6 MB, free: 15.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04372/0.4331, allocations: 13.95 MB / 483.5 MB, free: 2.031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.54, allocations: 4.516 kB / 483.5 MB, free: 2.027 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 15.623884166940115]