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.001641/0.001641, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.002045/0.002045, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.581/1.581, allocations: 230.2 MB / 254.5 MB, free: 15.27 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 63.89 kB / 373.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1212, allocations: 53.32 MB / 426.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.2493/0.3705, allocations: 5.784 MB / 432.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002436/0.3729, allocations: 1.208 MB / 433.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004573/0.3734, allocations: 22.41 kB / 433.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003775/0.3738, allocations: 173 kB / 433.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005915/0.3744, allocations: 280.5 kB / 434.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.3749, allocations: 221.2 kB / 434.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008902/0.3757, allocations: 1.065 MB / 435.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006042/0.3764, allocations: 402.3 kB / 435.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004296/0.3768, allocations: 418.3 kB / 436.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005626/0.3773, allocations: 473.4 kB / 436.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.3775, allocations: 97.97 kB / 436.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.3777, allocations: 98.06 kB / 436.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.3779, allocations: 224.2 kB / 437.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004518/0.3783, allocations: 0.4962 MB / 437.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.3796, allocations: 1.115 MB / 438.7 MB, free: 5.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3796, allocations: 5.031 kB / 438.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3796, allocations: 0 / 438.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.3797, allocations: 0 / 438.7 MB, free: 5.742 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.002027/0.3817, allocations: 1.255 MB / 440 MB, free: 4.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3817, allocations: 13.09 kB / 440 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.3819, allocations: 149.3 kB / 440.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.382, allocations: 111.8 kB / 440.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006933/0.3827, allocations: 465.5 kB / 440.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.056e-05/0.3828, allocations: 68.91 kB / 440.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.3829, allocations: 94.38 kB / 440.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.3843, allocations: 0.8692 MB / 441.8 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.3843, allocations: 5.5 kB / 441.8 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.416e-05/0.3844, allocations: 41 kB / 441.8 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.3844, allocations: 22.5 kB / 441.8 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000963/0.3853, allocations: 0.5676 MB / 442.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004282/0.3896, allocations: 2.961 MB / 445.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.39, allocations: 272.6 kB / 445.6 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/0.3904, allocations: 229.8 kB / 445.8 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.3904, allocations: 4.75 kB / 445.8 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.3904, allocations: 41.91 kB / 445.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.803e-06/0.3904, allocations: 1.312 kB / 445.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001369/0.3918, allocations: 0.6478 MB / 446.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.3918, allocations: 60.66 kB / 446.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005685/0.3924, allocations: 0.5146 MB / 447.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.3924, allocations: 32.42 kB / 447.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.3926, allocations: 0.497 MB / 447.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.108e-05/0.3927, allocations: 159.8 kB / 447.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.3929, allocations: 136.8 kB / 447.9 MB, free: 432 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.654e-05/0.393, allocations: 365.8 kB / 448.3 MB, free: 88 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.3933, allocations: 170.5 kB / 448.4 MB, free: 28 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/0.3939, allocations: 455.8 kB / 448.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009326/0.3949, allocations: 0.6551 MB / 449.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.3949, allocations: 2.406 kB / 449.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001416/0.3963, allocations: 0.7559 MB / 450.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.3963, allocations: 9.25 kB / 450.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.3963, allocations: 13.66 kB / 450.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003551/0.3967, allocations: 83.88 kB / 450.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008632/0.3976, allocations: 194.5 kB / 450.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003364/0.4009, allocations: 2.013 MB / 452.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008343/0.4018, allocations: 86.91 kB / 452.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.502e-05/0.4018, allocations: 40.75 kB / 452.7 MB, free: 12.85 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.0005275/0.4024, allocations: 211.9 kB / 452.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.4025, allocations: 65.16 kB / 453 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.4027, allocations: 66.16 kB / 453.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.4027, allocations: 4.562 kB / 453.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/0.4027, allocations: 1.641 kB / 453.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.4027, allocations: 7.234 kB / 453.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.4042, allocations: 0.6381 MB / 453.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4042, allocations: 0 / 453.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006108/0.4048, allocations: 97.3 kB / 453.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003265/0.4052, allocations: 76.92 kB / 453.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.4052, allocations: 7.016 kB / 453.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003029/0.4082, allocations: 1.988 MB / 455.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4082, allocations: 64 / 455.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.4099, allocations: 0.6651 MB / 456.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/0.4102, allocations: 135.5 kB / 456.7 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.4103, allocations: 10.69 kB / 456.7 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006505/0.411, allocations: 49.64 kB / 456.7 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.4111, allocations: 30.48 kB / 456.8 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/0.4112, allocations: 14.47 kB / 456.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007138/0.4119, allocations: 343.9 kB / 457.1 MB, free: 9.723 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4119, allocations: 4 kB / 457.1 MB, free: 9.719 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001509/0.4134, allocations: 249.9 kB / 457.4 MB, free: 9.656 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.002029/0.4154, allocations: 1.211 MB / 458.6 MB, free: 8.762 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.4171, allocations: 0.5604 MB / 459.1 MB, free: 8.488 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.4171, allocations: 1.219 kB / 459.1 MB, free: 8.488 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007479/0.4178, allocations: 310.7 kB / 459.5 MB, free: 8.301 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009829/0.4188, allocations: 113 kB / 459.6 MB, free: 8.266 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.4297, allocations: 5.486 MB / 465 MB, free: 4.719 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00064/0.4304, allocations: 0.9342 MB / 466 MB, free: 4.004 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004345/0.4308, allocations: 73.67 kB / 466.1 MB, free: 3.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/0.4312, allocations: 265.5 kB / 466.3 MB, free: 3.758 MB / 366.1 MB Notification: Performance of SimCode: time 2.144e-06/0.4312, allocations: 0 / 466.3 MB, free: 3.758 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04754/0.4787, allocations: 12.92 MB / 479.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.31, allocations: 20.53 kB / 479.3 MB, free: 10.73 MB / 382.1 MB " [Timeout remaining time 649] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.171449462883174]