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.001287/0.001287, allocations: 80.06 kB / 20.67 MB, free: 3.879 MB / 18.57 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.001023/0.001023, allocations: 149.1 kB / 23.93 MB, free: 0.625 MB / 18.57 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 0.9059/0.9059, allocations: 173.3 MB / 200.4 MB, free: 9.457 MB / 186.7 MB " [Timeout remaining time 179] 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 1.713e-06/1.713e-06, allocations: 0 / 318.5 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.257e-05, allocations: 3.688 kB / 318.5 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004272/0.004294, allocations: 5.05 MB / 323.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.006073, allocations: 1.161 MB / 324.7 MB, free: 72 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003002/0.006373, allocations: 19.94 kB / 324.7 MB, free: 52 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.006677, allocations: 170.4 kB / 324.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000417/0.007094, allocations: 301.2 kB / 325.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.007465, allocations: 219.7 kB / 325.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000775/0.00824, allocations: 1.106 MB / 326.5 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005123/0.008752, allocations: 383 kB / 326.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000469/0.009221, allocations: 0.6316 MB / 327.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000366/0.009587, allocations: 342.9 kB / 327.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.009701, allocations: 100 kB / 327.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-05/0.009799, allocations: 96 kB / 328 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.009925, allocations: 219.2 kB / 328.2 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002591/0.01018, allocations: 363.2 kB / 328.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008586/0.01104, allocations: 1.129 MB / 329.7 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.01105, allocations: 0 / 329.7 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01105, allocations: 0 / 329.7 MB, free: 11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.01106, allocations: 0 / 329.7 MB, free: 11 MB / 298.7 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.001447/0.01251, allocations: 1.178 MB / 330.9 MB, free: 9.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.01257, allocations: 12.92 kB / 330.9 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.01269, allocations: 148.1 kB / 331.1 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.0128, allocations: 108.3 kB / 331.2 MB, free: 9.523 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007952/0.0136, allocations: 400.8 kB / 331.6 MB, free: 9.105 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/0.01364, allocations: 70.31 kB / 331.6 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.541e-05/0.01372, allocations: 92.38 kB / 331.7 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.01476, allocations: 1.148 MB / 332.9 MB, free: 7.707 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.01478, allocations: 4.172 kB / 332.9 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.624e-05/0.01484, allocations: 44.12 kB / 332.9 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.01486, allocations: 24 kB / 332.9 MB, free: 7.637 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006889/0.01554, allocations: 0.5699 MB / 333.5 MB, free: 7.062 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002672/0.01822, allocations: 2.675 MB / 336.2 MB, free: 4.277 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.01855, allocations: 262.4 kB / 336.4 MB, free: 4.012 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.0188, allocations: 230.6 kB / 336.7 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.01882, allocations: 4 kB / 336.7 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.01886, allocations: 46.34 kB / 336.7 MB, free: 3.727 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 2.405e-06/0.01886, allocations: 0 / 336.7 MB, free: 3.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.001025/0.01989, allocations: 0.5714 MB / 337.3 MB, free: 3.145 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.01993, allocations: 59.34 kB / 337.3 MB, free: 3.074 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004612/0.02039, allocations: 0.5259 MB / 337.9 MB, free: 2.539 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.02042, allocations: 29.7 kB / 337.9 MB, free: 2.504 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.02068, allocations: 0.4991 MB / 338.4 MB, free: 1.996 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004495/0.02113, allocations: 158.7 kB / 338.5 MB, free: 1.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.02125, allocations: 138.6 kB / 338.7 MB, free: 1.699 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.02136, allocations: 370.7 kB / 339 MB, free: 1.328 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.02155, allocations: 177.9 kB / 339.2 MB, free: 1.152 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.02186, allocations: 445.6 kB / 339.7 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000556/0.02242, allocations: 0.6471 MB / 340.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.02242, allocations: 4 kB / 340.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007906/0.02322, allocations: 0.7515 MB / 341.1 MB, free: 15.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.02324, allocations: 8 kB / 341.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.02325, allocations: 16.53 kB / 341.1 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002492/0.0235, allocations: 88.81 kB / 341.2 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.02389, allocations: 191.7 kB / 341.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/0.02538, allocations: 1.891 MB / 343.2 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.02562, allocations: 83.36 kB / 343.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.02565, allocations: 36 kB / 343.4 MB, free: 12.62 MB / 314.7 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.000196/0.02584, allocations: 221.8 kB / 343.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.02591, allocations: 59.69 kB / 343.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.81e-05/0.02597, allocations: 69.5 kB / 343.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.02597, allocations: 7.938 kB / 343.7 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.02598, allocations: 0 / 343.7 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.02598, allocations: 0 / 343.7 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.02647, allocations: 0.5588 MB / 344.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.02648, allocations: 0 / 344.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.0267, allocations: 103.9 kB / 344.4 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001373/0.02684, allocations: 68.75 kB / 344.4 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.02687, allocations: 11.98 kB / 344.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.02836, allocations: 1.871 MB / 346.3 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.02836, allocations: 0 / 346.3 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006591/0.02902, allocations: 0.6586 MB / 347 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.524e-05/0.02908, allocations: 67.55 kB / 347 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.02912, allocations: 8.281 kB / 347.1 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.02931, allocations: 44.03 kB / 347.1 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.919e-05/0.02938, allocations: 31.72 kB / 347.1 MB, free: 8.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.0294, allocations: 23.88 kB / 347.2 MB, free: 8.641 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002716/0.02967, allocations: 346.9 kB / 347.5 MB, free: 8.305 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02967, allocations: 0 / 347.5 MB, free: 8.305 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005306/0.0302, allocations: 251.4 kB / 347.7 MB, free: 8.059 MB / 314.7 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.0008344/0.03103, allocations: 1.206 MB / 348.9 MB, free: 6.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006509/0.03169, allocations: 0.5606 MB / 349.5 MB, free: 6.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.03169, allocations: 2 kB / 349.5 MB, free: 6.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.03197, allocations: 306.1 kB / 349.8 MB, free: 5.938 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.0324, allocations: 119.3 kB / 349.9 MB, free: 5.824 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004907/0.03731, allocations: 5.378 MB / 355.3 MB, free: 96 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.03753, allocations: 340.1 kB / 355.6 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.0377, allocations: 73.16 kB / 355.7 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.03792, allocations: 268.3 kB / 356 MB, free: 15.4 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.03792, allocations: 0 / 356 MB, free: 15.4 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.0682, allocations: 14.21 MB / 370.2 MB, free: 1.461 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.312/7.381, allocations: 6.734 kB / 370.2 MB, free: 1.457 MB / 330.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/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: 9.266323550604284]