Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002453/0.002453, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 51.91 kB / 373 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1142, allocations: 53.32 MB / 426.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.2189/0.3331, allocations: 5.791 MB / 432.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002994/0.3361, allocations: 1.204 MB / 433.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007958/0.3369, allocations: 21.94 kB / 433.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006336/0.3376, allocations: 173.1 kB / 433.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.3387, allocations: 277.8 kB / 433.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007789/0.3395, allocations: 229.4 kB / 434 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001565/0.3411, allocations: 1.063 MB / 435.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007129/0.3418, allocations: 405.5 kB / 435.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006939/0.3425, allocations: 426.3 kB / 435.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005688/0.3431, allocations: 474.9 kB / 436.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.3432, allocations: 97.78 kB / 436.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.3434, allocations: 97.53 kB / 436.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.3436, allocations: 224.4 kB / 436.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004478/0.344, allocations: 0.4963 MB / 437.3 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.3453, allocations: 1.112 MB / 438.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3453, allocations: 1.125 kB / 438.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3453, allocations: 0 / 438.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.3453, allocations: 0 / 438.4 MB, free: 5.824 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.002018/0.3473, allocations: 1.257 MB / 439.7 MB, free: 5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3474, allocations: 9.812 kB / 439.7 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001667/0.3475, allocations: 150 kB / 439.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.3477, allocations: 115.5 kB / 439.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006958/0.3484, allocations: 465 kB / 440.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.96e-05/0.3485, allocations: 68.97 kB / 440.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.3486, allocations: 95.08 kB / 440.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.3499, allocations: 0.8689 MB / 441.4 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.3499, allocations: 0 / 441.4 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.798e-05/0.35, allocations: 45.56 kB / 441.5 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.35, allocations: 23.41 kB / 441.5 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009226/0.3509, allocations: 0.5717 MB / 442.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004142/0.3551, allocations: 2.957 MB / 445 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.3555, allocations: 264.9 kB / 445.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/0.3558, allocations: 228 kB / 445.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.3558, allocations: 12.44 kB / 445.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.3559, allocations: 42.16 kB / 445.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.673e-06/0.3559, allocations: 0 / 445.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001428/0.3573, allocations: 0.6411 MB / 446.2 MB, free: 1.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.3573, allocations: 68.66 kB / 446.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005891/0.3579, allocations: 0.5152 MB / 446.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.3579, allocations: 32.27 kB / 446.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.3582, allocations: 0.4991 MB / 447.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.3583, allocations: 157 kB / 447.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.3585, allocations: 138.7 kB / 447.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3586, allocations: 364.2 kB / 447.9 MB, free: 168 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.3589, allocations: 171.3 kB / 448.1 MB, free: 108 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005528/0.3594, allocations: 453.2 kB / 448.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008575/0.3603, allocations: 0.6523 MB / 449.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.3603, allocations: 3.469 kB / 449.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001346/0.3616, allocations: 0.7527 MB / 450 MB, free: 14.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.3616, allocations: 10.06 kB / 450 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.3617, allocations: 9.031 kB / 450 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003183/0.362, allocations: 87.5 kB / 450.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00069/0.3627, allocations: 199.4 kB / 450.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.3649, allocations: 2.005 MB / 452.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005953/0.3655, allocations: 86.39 kB / 452.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.307e-05/0.3655, allocations: 44.55 kB / 452.4 MB, free: 12.9 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.0003519/0.3659, allocations: 211.6 kB / 452.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.366, allocations: 61.22 kB / 452.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.3661, allocations: 66.34 kB / 452.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.3661, allocations: 4.734 kB / 452.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/0.3661, allocations: 2.469 kB / 452.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3662, allocations: 1.969 kB / 452.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009589/0.3671, allocations: 0.6432 MB / 453.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3671, allocations: 4 kB / 453.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004231/0.3675, allocations: 102.3 kB / 453.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000246/0.3678, allocations: 67.61 kB / 453.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.3678, allocations: 7.359 kB / 453.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/0.3698, allocations: 1.998 MB / 455.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3698, allocations: 1.125 kB / 455.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.3709, allocations: 0.6656 MB / 456.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.371, allocations: 134.8 kB / 456.4 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.246e-05/0.3711, allocations: 7.578 kB / 456.4 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/0.3715, allocations: 44.88 kB / 456.4 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/0.3716, allocations: 32.45 kB / 456.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.3716, allocations: 9.969 kB / 456.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004869/0.3721, allocations: 347.1 kB / 456.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3721, allocations: 0 / 456.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009779/0.3731, allocations: 250.1 kB / 457 MB, free: 9.715 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.00144/0.3745, allocations: 1.215 MB / 458.2 MB, free: 8.816 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.3757, allocations: 0.5624 MB / 458.8 MB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3757, allocations: 0 / 458.8 MB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005351/0.3763, allocations: 314.9 kB / 459.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006906/0.377, allocations: 122.9 kB / 459.2 MB, free: 8.301 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007825/0.3848, allocations: 5.48 MB / 464.7 MB, free: 4.762 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006979/0.3855, allocations: 0.931 MB / 465.6 MB, free: 4.031 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003428/0.3858, allocations: 70.67 kB / 465.7 MB, free: 3.996 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.3862, allocations: 259.7 kB / 466 MB, free: 3.773 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3862, allocations: 3.938 kB / 466 MB, free: 3.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04489/0.4311, allocations: 12.93 MB / 478.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.84, allocations: 10.41 kB / 478.9 MB, free: 10.7 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 13.481518938206136]