Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.001331/0.001331, allocations: 100 kB / 21.95 MB, free: 5.219 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.001404/0.001404, allocations: 210.1 kB / 25.25 MB, free: 3.133 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.327/1.327, allocations: 207.7 MB / 236.1 MB, free: 9.785 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.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",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.002658/0.002658, allocations: 56.38 kB / 348 MB, free: 9.961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2661, allocations: 49.15 MB / 397.1 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003279/0.2694, allocations: 2.562 MB / 399.7 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008675/0.2703, allocations: 0.6357 MB / 400.3 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.2704, allocations: 5.188 kB / 400.3 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.2705, allocations: 48.22 kB / 400.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.2707, allocations: 95.84 kB / 400.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.2709, allocations: 72.12 kB / 400.6 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.2712, allocations: 355.3 kB / 400.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.2714, allocations: 109.1 kB / 401 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.2715, allocations: 138.2 kB / 401.1 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.2717, allocations: 146 kB / 401.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.242e-05/0.2718, allocations: 30.34 kB / 401.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.373e-05/0.2718, allocations: 32.09 kB / 401.4 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.852e-05/0.2719, allocations: 68.3 kB / 401.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.272, allocations: 139.2 kB / 401.6 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.2724, allocations: 367.1 kB / 401.9 MB, free: 5.895 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2724, allocations: 0 / 401.9 MB, free: 5.895 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2724, allocations: 0.6094 kB / 401.9 MB, free: 5.895 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.2724, allocations: 0 / 401.9 MB, free: 5.895 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0008573/0.2732, allocations: 0.5285 MB / 402.4 MB, free: 5.488 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.2733, allocations: 14.66 kB / 402.5 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.597e-05/0.2733, allocations: 11.44 kB / 402.5 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.271e-05/0.2734, allocations: 62.31 kB / 402.5 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.2734, allocations: 38.42 kB / 402.6 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.2737, allocations: 194.1 kB / 402.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.2737, allocations: 25.06 kB / 402.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.2737, allocations: 30.02 kB / 402.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004202/0.2742, allocations: 309.2 kB / 403.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2742, allocations: 0 / 403.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.2742, allocations: 11.41 kB / 403.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.2742, allocations: 6.188 kB / 403.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.2745, allocations: 184.6 kB / 403.3 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.2757, allocations: 0.8975 MB / 404.2 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.276, allocations: 167.5 kB / 404.4 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.2762, allocations: 133.6 kB / 404.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.2763, allocations: 3.625 kB / 404.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.2763, allocations: 37.31 kB / 404.5 MB, free: 4.152 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.2763, allocations: 0 / 404.5 MB, free: 4.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001356/0.2776, allocations: 0.6963 MB / 405.2 MB, free: 3.746 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.2777, allocations: 54.28 kB / 405.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.2778, allocations: 196.3 kB / 405.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.2779, allocations: 31.02 kB / 405.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.421e-05/0.278, allocations: 175.1 kB / 405.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.16e-05/0.278, allocations: 98.2 kB / 405.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.558e-05/0.2781, allocations: 45.67 kB / 405.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.499e-05/0.2782, allocations: 337.8 kB / 406.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.2783, allocations: 74.25 kB / 406.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.2785, allocations: 104.3 kB / 406.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.2788, allocations: 182.2 kB / 406.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2788, allocations: 0 / 406.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005747/0.2794, allocations: 321.7 kB / 406.8 MB, free: 2.602 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2794, allocations: 5.531 kB / 406.8 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.2794, allocations: 5.344 kB / 406.8 MB, free: 2.598 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002912/0.2797, allocations: 95.16 kB / 406.9 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.2799, allocations: 40.61 kB / 407 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/0.2817, allocations: 1.969 MB / 408.9 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.2818, allocations: 7.812 kB / 408.9 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.2818, allocations: 9.75 kB / 408.9 MB, free: 0.8711 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.2819, allocations: 140.2 kB / 409.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.282, allocations: 19 kB / 409.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.282, allocations: 27.97 kB / 409.1 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.282, allocations: 6.625 kB / 409.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.282, allocations: 6.5 kB / 409.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.282, allocations: 1.266 kB / 409.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009343/0.283, allocations: 0.6976 MB / 409.8 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.283, allocations: 0.8438 kB / 409.8 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.2831, allocations: 39.5 kB / 409.9 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001985/0.2833, allocations: 72.56 kB / 410 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.2834, allocations: 5.969 kB / 410 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.2852, allocations: 1.875 MB / 411.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2852, allocations: 1.594 kB / 411.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007736/0.286, allocations: 463.8 kB / 412.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.286, allocations: 22.91 kB / 412.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.2861, allocations: 5.938 kB / 412.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.2862, allocations: 10.12 kB / 412.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.2863, allocations: 24.89 kB / 412.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.2863, allocations: 6.391 kB / 412.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.2864, allocations: 145.6 kB / 412.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2864, allocations: 0 / 412.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004438/0.2869, allocations: 79.34 kB / 412.6 MB, free: 14.14 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,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * 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.0009981/0.2879, allocations: 0.9919 MB / 413.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000725/0.2886, allocations: 354.2 kB / 413.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2886, allocations: 0 / 413.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004496/0.2891, allocations: 249.3 kB / 414.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.2894, allocations: 40.8 kB / 414.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/0.2931, allocations: 2.826 MB / 417 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.2932, allocations: 163.9 kB / 417.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.53e-05/0.2933, allocations: 20.23 kB / 417.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.2934, allocations: 82.02 kB / 417.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2934, allocations: 0 / 417.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03272/0.3261, allocations: 6.316 MB / 423.6 MB, free: 7.582 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.6, allocations: 15.69 kB / 423.6 MB, free: 7.57 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.047053454094566]