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.00143/0.00143, allocations: 107.6 kB / 21.18 MB, free: 0.5781 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.00152/0.00152, allocations: 211.8 kB / 24.47 MB, free: 3.871 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.479/1.479, allocations: 207.7 MB / 235.3 MB, free: 9.809 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: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [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.00183/0.00183, allocations: 57.8 kB / 347.7 MB, free: 9.332 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2954, allocations: 49.15 MB / 396.9 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005607/0.301, allocations: 5.008 MB / 401.9 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.303, allocations: 1.174 MB / 403.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003069/0.3033, allocations: 21.69 kB / 403.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.3037, allocations: 170.8 kB / 403.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004587/0.3041, allocations: 275.7 kB / 403.5 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.3045, allocations: 224.8 kB / 403.8 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008297/0.3053, allocations: 1.06 MB / 404.8 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005231/0.3059, allocations: 396.6 kB / 405.2 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004107/0.3063, allocations: 423 kB / 405.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004979/0.3068, allocations: 403.1 kB / 406 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.3069, allocations: 97.28 kB / 406.1 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.3071, allocations: 98.5 kB / 406.2 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.3072, allocations: 221.6 kB / 406.4 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003497/0.3076, allocations: 428.5 kB / 406.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.3087, allocations: 1.112 MB / 407.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3087, allocations: 0 / 407.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3087, allocations: 3.938 kB / 407.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.3087, allocations: 4 kB / 407.9 MB, free: 2.812 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.001974/0.3107, allocations: 1.189 MB / 409.1 MB, free: 2.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.3108, allocations: 17.27 kB / 409.2 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.3109, allocations: 110 kB / 409.3 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006738/0.3116, allocations: 400.9 kB / 409.7 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/0.3117, allocations: 68.72 kB / 409.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.3118, allocations: 97.86 kB / 409.8 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.3132, allocations: 1.15 MB / 411 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.3132, allocations: 0 / 411 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.88e-05/0.3133, allocations: 38.28 kB / 411 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.3133, allocations: 27.16 kB / 411 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008868/0.3142, allocations: 0.5768 MB / 411.6 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003982/0.3182, allocations: 2.547 MB / 414.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004353/0.3186, allocations: 262.7 kB / 414.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003569/0.319, allocations: 236.7 kB / 414.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.319, allocations: 4.438 kB / 414.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.3191, allocations: 39.06 kB / 414.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.104e-06/0.3191, allocations: 0 / 414.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001439/0.3205, allocations: 0.5713 MB / 415.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.3206, allocations: 56.69 kB / 415.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/0.3212, allocations: 0.4998 MB / 415.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.3213, allocations: 39.92 kB / 415.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/0.3216, allocations: 0.4944 MB / 416.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.3217, allocations: 170.4 kB / 416.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.3219, allocations: 136.1 kB / 416.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.3222, allocations: 362 kB / 417 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.3225, allocations: 168 kB / 417.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006004/0.3231, allocations: 457.9 kB / 417.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009674/0.324, allocations: 0.6413 MB / 418.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/0.324, allocations: 3.531 kB / 418.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001322/0.3254, allocations: 0.7517 MB / 419 MB, free: 10.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.3254, allocations: 13.17 kB / 419 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.3254, allocations: 8.906 kB / 419 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003306/0.3257, allocations: 87.31 kB / 419.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006792/0.3264, allocations: 193.7 kB / 419.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.3286, allocations: 1.864 MB / 421.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005532/0.3292, allocations: 88.72 kB / 421.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.905e-05/0.3292, allocations: 32.59 kB / 421.3 MB, free: 9.141 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.0003397/0.3296, allocations: 214.5 kB / 421.5 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.609e-05/0.3297, allocations: 59.77 kB / 421.6 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.3298, allocations: 66.12 kB / 421.6 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3298, allocations: 4.469 kB / 421.6 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.3298, allocations: 1.25 kB / 421.6 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.3298, allocations: 5.359 kB / 421.6 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007155/0.3305, allocations: 463.6 kB / 422.1 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3305, allocations: 0 / 422.1 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/0.331, allocations: 97.98 kB / 422.2 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002306/0.3312, allocations: 72.64 kB / 422.2 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.3312, allocations: 19.12 kB / 422.3 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/0.3333, allocations: 1.848 MB / 424.1 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3333, allocations: 0 / 424.1 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.3344, allocations: 0.654 MB / 424.8 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.3345, allocations: 58.11 kB / 424.8 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.451e-05/0.3345, allocations: 15.41 kB / 424.8 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/0.3349, allocations: 46.47 kB / 424.9 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.335, allocations: 27.94 kB / 424.9 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.335, allocations: 12 kB / 424.9 MB, free: 6.246 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004126/0.3355, allocations: 326.9 kB / 425.2 MB, free: 5.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3355, allocations: 0 / 425.2 MB, free: 5.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008809/0.3363, allocations: 259.3 kB / 425.5 MB, free: 5.676 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.0001436/0.3365, allocations: 103.2 kB / 425.6 MB, free: 5.566 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009929/0.3375, allocations: 0.5645 MB / 426.2 MB, free: 4.988 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3375, allocations: 3.938 kB / 426.2 MB, free: 4.984 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004664/0.3379, allocations: 298.3 kB / 426.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005345/0.3385, allocations: 107.9 kB / 426.6 MB, free: 4.578 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.3408, allocations: 1.406 MB / 428 MB, free: 3.137 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.3412, allocations: 335.7 kB / 428.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002462/0.3414, allocations: 68.92 kB / 428.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.869e-05/0.3415, allocations: 39.38 kB / 428.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3415, allocations: 0 / 428.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of Templates: time 0.01488/0.3564, allocations: 7.786 MB / 436.2 MB, free: 10.88 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/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: 4.952386317774653]