Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.009103/0.009103, allocations: 110.7 kB / 21.97 MB, free: 5.25 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.001744/0.001744, allocations: 206.5 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 47.92 kB / 348 MB, free: 9.973 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3064, allocations: 49.16 MB / 397.2 MB, free: 8.941 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005882/0.3123, allocations: 5.72 MB / 402.9 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002954/0.3152, allocations: 1.212 MB / 404.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005369/0.3158, allocations: 21.72 kB / 404.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004195/0.3162, allocations: 170.5 kB / 404.3 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005126/0.3167, allocations: 281.3 kB / 404.6 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.3171, allocations: 222.4 kB / 404.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008828/0.318, allocations: 1.064 MB / 405.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005741/0.3186, allocations: 409.6 kB / 406.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004668/0.3191, allocations: 422.9 kB / 406.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005683/0.3196, allocations: 483 kB / 407.1 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.3198, allocations: 97.03 kB / 407.2 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.3199, allocations: 102.3 kB / 407.3 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.3201, allocations: 215 kB / 407.6 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000398/0.3205, allocations: 0.5032 MB / 408.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.3216, allocations: 1.107 MB / 409.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.3216, allocations: 5.375 kB / 409.2 MB, free: 1.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3216, allocations: 0 / 409.2 MB, free: 1.418 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.3216, allocations: 0 / 409.2 MB, free: 1.418 MB / 318.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.00181/0.3234, allocations: 1.184 MB / 410.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.3235, allocations: 14.02 kB / 410.4 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.405e-05/0.3235, allocations: 24.47 kB / 410.4 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/0.3237, allocations: 147.4 kB / 410.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.3238, allocations: 110.5 kB / 410.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006307/0.3245, allocations: 399.8 kB / 411 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.062e-05/0.3245, allocations: 81.22 kB / 411.1 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.3246, allocations: 94.03 kB / 411.2 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.326, allocations: 0.8792 MB / 412.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.326, allocations: 0 / 412.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-05/0.3261, allocations: 42.22 kB / 412.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.3261, allocations: 22.19 kB / 412.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.3271, allocations: 0.5707 MB / 412.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004469/0.3316, allocations: 2.869 MB / 415.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004625/0.3321, allocations: 266 kB / 415.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/0.3324, allocations: 229.4 kB / 416.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.3324, allocations: 8.359 kB / 416.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.3325, allocations: 45.47 kB / 416.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.003e-06/0.3325, allocations: 1.438 kB / 416.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001514/0.334, allocations: 0.5765 MB / 416.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.334, allocations: 60.5 kB / 416.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006028/0.3346, allocations: 0.5061 MB / 417.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/0.3347, allocations: 36.8 kB / 417.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003623/0.3351, allocations: 0.4907 MB / 417.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.3352, allocations: 166.4 kB / 418 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.3354, allocations: 136.2 kB / 418.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3356, allocations: 362.2 kB / 418.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.3359, allocations: 180.6 kB / 418.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/0.3365, allocations: 457.6 kB / 419.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009534/0.3374, allocations: 0.6387 MB / 419.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.3374, allocations: 2.688 kB / 419.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001308/0.3387, allocations: 0.7611 MB / 420.5 MB, free: 9.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.3387, allocations: 9.531 kB / 420.5 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.3388, allocations: 8.875 kB / 420.5 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003403/0.3391, allocations: 86.97 kB / 420.6 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006844/0.3398, allocations: 197 kB / 420.8 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/0.3421, allocations: 1.895 MB / 422.7 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000607/0.3427, allocations: 97.42 kB / 422.8 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/0.3427, allocations: 33.06 kB / 422.8 MB, free: 7.777 MB / 334.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.0003687/0.3431, allocations: 214.9 kB / 423 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.3432, allocations: 64.59 kB / 423.1 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.3433, allocations: 59.36 kB / 423.1 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3433, allocations: 4.188 kB / 423.1 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/0.3433, allocations: 1.438 kB / 423.1 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.3434, allocations: 9.422 kB / 423.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008767/0.3442, allocations: 0.6188 MB / 423.7 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3442, allocations: 5.281 kB / 423.8 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.3446, allocations: 94.25 kB / 423.8 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002/0.3448, allocations: 73.94 kB / 423.9 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.3449, allocations: 9.469 kB / 423.9 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/0.3468, allocations: 1.882 MB / 425.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3468, allocations: 1.312 kB / 425.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.3479, allocations: 0.6699 MB / 426.5 MB, free: 4.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.348, allocations: 62.92 kB / 426.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.94e-05/0.3481, allocations: 10.5 kB / 426.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.3485, allocations: 44.44 kB / 426.6 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/0.3486, allocations: 30.03 kB / 426.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.3486, allocations: 17.14 kB / 426.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004102/0.349, allocations: 341.4 kB / 427 MB, free: 4.516 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.349, allocations: 0 / 427 MB, free: 4.516 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007975/0.3498, allocations: 254.1 kB / 427.2 MB, free: 4.375 MB / 334.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.001368/0.3512, allocations: 1.214 MB / 428.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.3522, allocations: 0.5581 MB / 429 MB, free: 2.559 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3522, allocations: 0 / 429 MB, free: 2.559 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004964/0.3527, allocations: 310.5 kB / 429.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006576/0.3534, allocations: 118.7 kB / 429.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007957/0.3613, allocations: 5.494 MB / 434.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006889/0.362, allocations: 0.9335 MB / 435.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000327/0.3624, allocations: 69.2 kB / 435.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/0.3627, allocations: 263.3 kB / 436.2 MB, free: 11 MB / 350.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3627, allocations: 0 / 436.2 MB, free: 11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04522/0.4079, allocations: 13.46 MB / 449.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.08, allocations: 0.9375 kB / 449.6 MB, free: 13.47 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.978174194984604]