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.001686/0.001686, allocations: 92.47 kB / 20.95 MB, free: 472 kB / 14.72 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.001538/0.001538, allocations: 149.7 kB / 24.24 MB, free: 3.535 MB / 14.72 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 1.452/1.452, allocations: 173.3 MB / 200.8 MB, free: 12.75 MB / 190.1 MB " [Timeout remaining time 178] 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: 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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 267.4 MB, free: 10.17 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/2.992e-05, allocations: 6.25 kB / 267.4 MB, free: 10.16 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007048/0.007077, allocations: 5.06 MB / 272.4 MB, free: 5.07 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.00964, allocations: 1.157 MB / 273.6 MB, free: 3.906 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000496/0.01014, allocations: 23.94 kB / 273.6 MB, free: 3.883 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.01053, allocations: 170.4 kB / 273.8 MB, free: 3.715 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006098/0.01114, allocations: 297.2 kB / 274.1 MB, free: 3.422 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000493/0.01164, allocations: 219.6 kB / 274.3 MB, free: 3.207 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.01281, allocations: 1.106 MB / 275.4 MB, free: 2.094 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006129/0.01342, allocations: 383 kB / 275.8 MB, free: 1.699 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007702/0.01419, allocations: 0.6277 MB / 276.4 MB, free: 1.07 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005118/0.0147, allocations: 346.9 kB / 276.7 MB, free: 0.7305 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.01485, allocations: 96 kB / 276.8 MB, free: 0.6367 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.01502, allocations: 100 kB / 276.9 MB, free: 0.5391 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.01522, allocations: 219.2 kB / 277.1 MB, free: 332 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000428/0.01565, allocations: 371.2 kB / 277.5 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.01687, allocations: 1.129 MB / 278.6 MB, free: 14.83 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.01688, allocations: 0 / 278.6 MB, free: 14.83 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01688, allocations: 0 / 278.6 MB, free: 14.83 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.01689, allocations: 0 / 278.6 MB, free: 14.83 MB / 270.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.002138/0.01903, allocations: 1.183 MB / 279.8 MB, free: 13.61 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.01907, allocations: 8.922 kB / 279.8 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002831/0.01935, allocations: 188.3 kB / 280 MB, free: 13.42 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007128/0.02006, allocations: 400.8 kB / 280.4 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.571e-05/0.02013, allocations: 70.38 kB / 280.5 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.02028, allocations: 108.3 kB / 280.6 MB, free: 12.83 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.02199, allocations: 1.144 MB / 281.7 MB, free: 11.59 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.02201, allocations: 192 / 281.7 MB, free: 11.59 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.425e-05/0.0221, allocations: 40.38 kB / 281.7 MB, free: 11.55 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.02213, allocations: 27.94 kB / 281.8 MB, free: 11.52 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.02322, allocations: 0.5661 MB / 282.3 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004461/0.02768, allocations: 2.585 MB / 284.9 MB, free: 8.27 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004681/0.02815, allocations: 266.3 kB / 285.2 MB, free: 8 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004032/0.02855, allocations: 234.4 kB / 285.4 MB, free: 7.77 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.02858, allocations: 8 kB / 285.4 MB, free: 7.762 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.02862, allocations: 38.56 kB / 285.5 MB, free: 7.715 MB / 270.1 MB Notification: Performance of pre-optimization done (n=42): time 2.685e-06/0.02862, allocations: 0 / 285.5 MB, free: 7.715 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.001631/0.03025, allocations: 0.5877 MB / 286 MB, free: 7.117 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.03031, allocations: 59.41 kB / 286.1 MB, free: 7.047 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006177/0.03093, allocations: 0.4937 MB / 286.6 MB, free: 6.543 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/0.03097, allocations: 37.7 kB / 286.6 MB, free: 6.5 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/0.03133, allocations: 0.4913 MB / 287.1 MB, free: 6 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.03147, allocations: 162.6 kB / 287.3 MB, free: 5.84 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.03167, allocations: 138.5 kB / 287.4 MB, free: 5.699 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.03185, allocations: 366.7 kB / 287.8 MB, free: 5.332 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/0.03217, allocations: 173.9 kB / 287.9 MB, free: 5.16 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005632/0.03274, allocations: 453.5 kB / 288.4 MB, free: 4.59 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009632/0.0337, allocations: 0.6469 MB / 289 MB, free: 3.816 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.03371, allocations: 0 / 289 MB, free: 3.816 MB / 270.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001456/0.03516, allocations: 0.7909 MB / 289.8 MB, free: 3.016 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.03519, allocations: 11.98 kB / 289.8 MB, free: 3.004 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.0352, allocations: 11.94 kB / 289.9 MB, free: 2.992 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004624/0.03566, allocations: 101.1 kB / 290 MB, free: 2.891 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007442/0.03641, allocations: 195.6 kB / 290.1 MB, free: 2.699 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/0.03867, allocations: 1.868 MB / 292 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/0.03918, allocations: 87.3 kB / 292.1 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-05/0.03924, allocations: 44 kB / 292.1 MB, free: 0.5977 MB / 270.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.0003125/0.03955, allocations: 209.7 kB / 292.3 MB, free: 392 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.03966, allocations: 71.61 kB / 292.4 MB, free: 320 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.03978, allocations: 65.19 kB / 292.5 MB, free: 260 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.03979, allocations: 4 kB / 292.5 MB, free: 256 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.0398, allocations: 4 kB / 292.5 MB, free: 252 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.03981, allocations: 3.984 kB / 292.5 MB, free: 248 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006687/0.04048, allocations: 460.8 kB / 292.9 MB, free: 15.76 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.04048, allocations: 0 / 292.9 MB, free: 15.76 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.04093, allocations: 99.88 kB / 293 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003618/0.04129, allocations: 92.7 kB / 293.1 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.04132, allocations: 12 kB / 293.1 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/0.04346, allocations: 1.845 MB / 295 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.04347, allocations: 7.875 kB / 295 MB, free: 13.6 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.04456, allocations: 0.6704 MB / 295.7 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.04466, allocations: 55.61 kB / 295.7 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/0.04472, allocations: 8 kB / 295.7 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005355/0.04526, allocations: 47.97 kB / 295.8 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.122e-05/0.04534, allocations: 31.88 kB / 295.8 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.04537, allocations: 19.98 kB / 295.8 MB, free: 12.75 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003984/0.04577, allocations: 318.9 kB / 296.1 MB, free: 12.45 MB / 286.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04577, allocations: 0 / 296.1 MB, free: 12.45 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008405/0.04661, allocations: 259.3 kB / 296.4 MB, free: 12.19 MB / 286.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.0001445/0.04675, allocations: 111.2 kB / 296.5 MB, free: 12.07 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.04785, allocations: 0.5576 MB / 297.1 MB, free: 11.5 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.04785, allocations: 4.125 kB / 297.1 MB, free: 11.5 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005323/0.04838, allocations: 306.2 kB / 297.4 MB, free: 11.18 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.04894, allocations: 98.03 kB / 297.5 MB, free: 11.09 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.05126, allocations: 1.326 MB / 298.8 MB, free: 9.73 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.0516, allocations: 331.9 kB / 299.1 MB, free: 9.379 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002383/0.05184, allocations: 64.94 kB / 299.2 MB, free: 9.312 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.779e-05/0.05194, allocations: 36.5 kB / 299.2 MB, free: 9.277 MB / 286.1 MB Notification: Performance of SimCode: time 7.52e-07/0.05194, allocations: 0 / 299.2 MB, free: 9.277 MB / 286.1 MB Notification: Performance of Templates: time 0.01546/0.0674, allocations: 6.749 MB / 305.9 MB, free: 2.645 MB / 286.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 480] 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: 4.573486860841513]