Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00183/0.00183, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002091/0.002091, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.589/1.589, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 72.75 kB / 379.1 MB, free: 2.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.343, allocations: 53.37 MB / 432.5 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.008171/0.3511, allocations: 5.812 MB / 438.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003131/0.3543, allocations: 1.211 MB / 439.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004973/0.3548, allocations: 23.94 kB / 439.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004748/0.3552, allocations: 174.3 kB / 439.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000634/0.3559, allocations: 281.4 kB / 440 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005553/0.3564, allocations: 215.7 kB / 440.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.3577, allocations: 1.064 MB / 441.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007132/0.3584, allocations: 410.9 kB / 441.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004841/0.3589, allocations: 422.6 kB / 442 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006442/0.3596, allocations: 481.9 kB / 442.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.3597, allocations: 96 kB / 442.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.3599, allocations: 96 kB / 442.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.3601, allocations: 219.3 kB / 442.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005281/0.3606, allocations: 0.5054 MB / 443.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.3619, allocations: 1.106 MB / 444.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3619, allocations: 0 / 444.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3619, allocations: 0 / 444.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.3619, allocations: 3.938 kB / 444.5 MB, free: 10.78 MB / 350.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.002237/0.3642, allocations: 1.179 MB / 445.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3642, allocations: 12.03 kB / 445.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.3644, allocations: 108.3 kB / 445.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000715/0.3651, allocations: 409.5 kB / 446.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.194e-05/0.3651, allocations: 66.38 kB / 446.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.3653, allocations: 96.38 kB / 446.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.3668, allocations: 0.8678 MB / 447.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.3669, allocations: 3.938 kB / 447.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.46e-05/0.3669, allocations: 44 kB / 447.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.367, allocations: 24 kB / 447.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.368, allocations: 0.5661 MB / 447.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004614/0.3726, allocations: 2.88 MB / 450.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.3731, allocations: 267 kB / 451 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003845/0.3735, allocations: 228.7 kB / 451.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.3735, allocations: 4 kB / 451.3 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.3735, allocations: 42.56 kB / 451.3 MB, free: 3.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 3.226e-06/0.3735, allocations: 0 / 451.3 MB, free: 3.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001551/0.3751, allocations: 0.572 MB / 451.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.899e-05/0.3752, allocations: 59.41 kB / 451.9 MB, free: 3.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007047/0.3759, allocations: 0.5181 MB / 452.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/0.3759, allocations: 37.64 kB / 452.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000373/0.3763, allocations: 0.4914 MB / 453 MB, free: 2.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.3765, allocations: 166.6 kB / 453.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/0.3767, allocations: 130.6 kB / 453.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002786/0.377, allocations: 366.8 kB / 453.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005194/0.3775, allocations: 173.9 kB / 453.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000604/0.3782, allocations: 453.6 kB / 454.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009539/0.3791, allocations: 0.6469 MB / 454.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.3791, allocations: 8 kB / 454.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001571/0.3807, allocations: 0.7598 MB / 455.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.3807, allocations: 8 kB / 455.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.3807, allocations: 8 kB / 455.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000329/0.3811, allocations: 84.8 kB / 455.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/0.3817, allocations: 195.9 kB / 455.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.384, allocations: 1.891 MB / 457.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/0.3844, allocations: 95.23 kB / 457.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/0.3845, allocations: 36.06 kB / 458 MB, free: 12.68 MB / 366.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.0003813/0.3849, allocations: 213.5 kB / 458.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.385, allocations: 63.62 kB / 458.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.3851, allocations: 65.48 kB / 458.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.3851, allocations: 4 kB / 458.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.3851, allocations: 3.938 kB / 458.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/0.3851, allocations: 3.984 kB / 458.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008922/0.386, allocations: 0.6249 MB / 458.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.386, allocations: 4 kB / 458.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004028/0.3864, allocations: 99.92 kB / 459 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002061/0.3866, allocations: 72.73 kB / 459.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.3867, allocations: 8 kB / 459.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.3887, allocations: 1.879 MB / 461 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3887, allocations: 0 / 461 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.3897, allocations: 0.6664 MB / 461.7 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.3898, allocations: 63.55 kB / 461.7 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.206e-05/0.3899, allocations: 8 kB / 461.7 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.3903, allocations: 39.97 kB / 461.8 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/0.3903, allocations: 35.94 kB / 461.8 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.3903, allocations: 12 kB / 461.8 MB, free: 8.645 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004101/0.3908, allocations: 346.9 kB / 462.1 MB, free: 8.309 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3908, allocations: 0 / 462.1 MB, free: 8.309 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009125/0.3917, allocations: 247.5 kB / 462.4 MB, free: 8.066 MB / 366.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.0001625/0.3918, allocations: 111.2 kB / 462.5 MB, free: 7.945 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.393, allocations: 0.5617 MB / 463.1 MB, free: 7.371 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.393, allocations: 256 / 463.1 MB, free: 7.371 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005237/0.3935, allocations: 318.3 kB / 463.4 MB, free: 7.047 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/0.3941, allocations: 114.3 kB / 463.5 MB, free: 6.938 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.3969, allocations: 1.417 MB / 464.9 MB, free: 5.488 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006712/0.3975, allocations: 0.9297 MB / 465.8 MB, free: 4.531 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002784/0.3978, allocations: 77.19 kB / 465.9 MB, free: 4.453 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.3979, allocations: 39.44 kB / 465.9 MB, free: 4.414 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3979, allocations: 0 / 465.9 MB, free: 4.414 MB / 366.1 MB Notification: Performance of Templates: time 0.01659/0.4145, allocations: 7.746 MB / 473.7 MB, free: 12.74 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 5.159763088449836]