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.001352/0.001352, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.00159/0.00159, allocations: 214.4 kB / 24.47 MB, free: 3.793 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.387/1.387, allocations: 207.7 MB / 235.3 MB, free: 9.773 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",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.002128/0.002128, allocations: 59.05 kB / 347.2 MB, free: 9.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2546, allocations: 49.14 MB / 396.4 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005506/0.2601, allocations: 5.012 MB / 401.4 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.2626, allocations: 1.177 MB / 402.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000447/0.2631, allocations: 20.53 kB / 402.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003925/0.2635, allocations: 171.9 kB / 402.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005376/0.264, allocations: 281.7 kB / 403 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.2645, allocations: 225.5 kB / 403.3 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.2659, allocations: 1.064 MB / 404.3 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008685/0.2668, allocations: 381 kB / 404.7 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009402/0.2677, allocations: 423.4 kB / 405.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007001/0.2684, allocations: 403.9 kB / 405.5 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001798/0.2686, allocations: 97.44 kB / 405.6 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.2688, allocations: 96.88 kB / 405.7 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.269, allocations: 217.4 kB / 405.9 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004663/0.2695, allocations: 441.5 kB / 406.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.2708, allocations: 1.11 MB / 407.5 MB, free: 2.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2708, allocations: 5.656 kB / 407.5 MB, free: 2.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2709, allocations: 7.875 kB / 407.5 MB, free: 2.281 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.373e-05/0.2709, allocations: 0 / 407.5 MB, free: 2.281 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.002005/0.2729, allocations: 1.18 MB / 408.6 MB, free: 1.547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.2729, allocations: 14.28 kB / 408.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001566/0.2731, allocations: 150.8 kB / 408.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.2732, allocations: 110.2 kB / 408.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006715/0.2739, allocations: 401.1 kB / 409.3 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.735e-05/0.274, allocations: 68.81 kB / 409.4 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.2741, allocations: 92.84 kB / 409.5 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.2756, allocations: 1.154 MB / 410.6 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.2756, allocations: 1.625 kB / 410.6 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.419e-05/0.2757, allocations: 45.94 kB / 410.7 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.2757, allocations: 22.81 kB / 410.7 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009878/0.2767, allocations: 0.5648 MB / 411.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004593/0.2813, allocations: 2.673 MB / 413.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.2817, allocations: 261.4 kB / 414.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/0.2821, allocations: 233.8 kB / 414.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.2821, allocations: 4.375 kB / 414.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.2821, allocations: 37.88 kB / 414.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.565e-06/0.2821, allocations: 5 kB / 414.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001479/0.2836, allocations: 0.5772 MB / 415 MB, free: 13.31 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.2837, allocations: 60.34 kB / 415.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006493/0.2843, allocations: 0.5294 MB / 415.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.2843, allocations: 36.14 kB / 415.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/0.2847, allocations: 0.4898 MB / 416.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.2849, allocations: 166.5 kB / 416.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.285, allocations: 132.4 kB / 416.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.2853, allocations: 367.9 kB / 416.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.2856, allocations: 172 kB / 417 MB, free: 11.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006381/0.2862, allocations: 453.6 kB / 417.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009224/0.2871, allocations: 0.6492 MB / 418.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.2871, allocations: 3.375 kB / 418.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001258/0.2884, allocations: 0.761 MB / 418.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.2884, allocations: 9.719 kB / 418.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.2884, allocations: 9.031 kB / 418.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002757/0.2887, allocations: 82.66 kB / 418.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/0.2893, allocations: 198 kB / 419.1 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.2915, allocations: 1.885 MB / 421 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005253/0.2921, allocations: 93.41 kB / 421.1 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.026e-05/0.2921, allocations: 36 kB / 421.1 MB, free: 8.492 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.0002775/0.2924, allocations: 214.8 kB / 421.3 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.571e-05/0.2925, allocations: 62.52 kB / 421.4 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.2926, allocations: 62.72 kB / 421.5 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.2926, allocations: 4.25 kB / 421.5 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.2926, allocations: 2.688 kB / 421.5 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.2926, allocations: 0 / 421.5 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007287/0.2933, allocations: 0.5653 MB / 422 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2933, allocations: 0 / 422 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/0.2937, allocations: 102.6 kB / 422.1 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001937/0.2939, allocations: 69.98 kB / 422.2 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.2939, allocations: 18.42 kB / 422.2 MB, free: 7.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.2959, allocations: 1.864 MB / 424.1 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2959, allocations: 1.094 kB / 424.1 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009786/0.2969, allocations: 0.6593 MB / 424.7 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.297, allocations: 67.25 kB / 424.8 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.2971, allocations: 10.19 kB / 424.8 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.2975, allocations: 40.88 kB / 424.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.2975, allocations: 29.66 kB / 424.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.2976, allocations: 12.88 kB / 424.9 MB, free: 5.527 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003873/0.2979, allocations: 351.2 kB / 425.2 MB, free: 5.316 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2979, allocations: 0 / 425.2 MB, free: 5.316 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000792/0.2987, allocations: 247.4 kB / 425.5 MB, free: 5.074 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.00142/0.3002, allocations: 1.218 MB / 426.7 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009823/0.3011, allocations: 0.5663 MB / 427.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3011, allocations: 0 / 427.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004745/0.3016, allocations: 302.5 kB / 427.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005893/0.3022, allocations: 118.3 kB / 427.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007794/0.31, allocations: 5.49 MB / 433.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.3104, allocations: 340 kB / 433.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002908/0.3107, allocations: 69.2 kB / 433.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/0.311, allocations: 267.3 kB / 433.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of SimCode: time 1.182e-06/0.311, allocations: 0 / 433.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04919/0.3602, allocations: 14.14 MB / 448 MB, free: 14.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.48, allocations: 4.062 kB / 448 MB, free: 14.08 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119904 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.csv","/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: 14.98900246899575]