Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.0008912/0.0008912, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.0008914/0.0008914, allocations: 171.9 kB / 24.92 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9368/0.9368, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 273.5 MB, free: 1.133 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.954e-05, allocations: 2.312 kB / 273.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003571/0.003591, allocations: 3.067 MB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.004923, allocations: 0.8101 MB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.00513, allocations: 7.938 kB / 277.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.005285, allocations: 51.5 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.005485, allocations: 127 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.005773, allocations: 131.7 kB / 277.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003397/0.006112, allocations: 470 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.006266, allocations: 102.1 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003097/0.006576, allocations: 271.4 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.006732, allocations: 151.6 kB / 278.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.006776, allocations: 44 kB / 278.7 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.974e-05/0.006815, allocations: 44 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.489e-05/0.00687, allocations: 99.59 kB / 278.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.356e-05/0.006964, allocations: 135.7 kB / 279 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005015/0.007465, allocations: 291 kB / 279.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.007467, allocations: 0 / 279.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.007468, allocations: 0 / 279.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.007472, allocations: 0 / 279.3 MB, free: 11.34 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0006814/0.008154, allocations: 0.599 MB / 279.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.708e-05/0.008181, allocations: 8.031 kB / 279.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.98e-05/0.00824, allocations: 44.91 kB / 279.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.008451, allocations: 204.7 kB / 280.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.008469, allocations: 21.03 kB / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/0.008506, allocations: 36.33 kB / 280.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.008795, allocations: 305.7 kB / 280.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.008803, allocations: 192 / 280.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.008822, allocations: 11.94 kB / 280.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.008828, allocations: 8 kB / 280.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.008932, allocations: 84.48 kB / 280.6 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009037/0.009836, allocations: 0.8624 MB / 281.4 MB, free: 9.035 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.01, allocations: 114.5 kB / 281.5 MB, free: 8.914 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.935e-05/0.01007, allocations: 44.78 kB / 281.6 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.01009, allocations: 4 kB / 281.6 MB, free: 8.863 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.01022, allocations: 173.3 kB / 281.8 MB, free: 8.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.082e-06/0.01023, allocations: 0 / 281.8 MB, free: 8.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004438/0.01067, allocations: 235.9 kB / 282 MB, free: 8.422 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.01071, allocations: 114.7 kB / 282.1 MB, free: 8.285 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.01085, allocations: 257.2 kB / 282.3 MB, free: 8.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.01087, allocations: 29.7 kB / 282.4 MB, free: 7.984 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.01094, allocations: 200.7 kB / 282.6 MB, free: 7.785 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.01097, allocations: 55.52 kB / 282.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-05/0.01103, allocations: 57.64 kB / 282.7 MB, free: 7.668 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.01111, allocations: 342.8 kB / 283 MB, free: 7.324 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.766e-05/0.01115, allocations: 49.97 kB / 283.1 MB, free: 7.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.01126, allocations: 212.7 kB / 283.3 MB, free: 7.004 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.01139, allocations: 183.8 kB / 283.5 MB, free: 6.781 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.0114, allocations: 0 / 283.5 MB, free: 6.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002625/0.01166, allocations: 272.6 kB / 283.7 MB, free: 6.496 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.01169, allocations: 33.7 kB / 283.8 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.01169, allocations: 4 kB / 283.8 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/0.01184, allocations: 57.09 kB / 283.8 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.01197, allocations: 67.89 kB / 283.9 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006505/0.01262, allocations: 1.194 MB / 285.1 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.01275, allocations: 51.75 kB / 285.1 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.01276, allocations: 8 kB / 285.1 MB, free: 4.988 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.436e-05/0.01284, allocations: 129.8 kB / 285.3 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.01287, allocations: 27.92 kB / 285.3 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.01289, allocations: 26.11 kB / 285.3 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.0129, allocations: 4 kB / 285.3 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.0129, allocations: 0 / 285.3 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.0129, allocations: 3.984 kB / 285.3 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.01328, allocations: 400 kB / 285.7 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01329, allocations: 32 / 285.7 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.061e-05/0.01338, allocations: 39.97 kB / 285.8 MB, free: 4.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/0.01348, allocations: 44.83 kB / 285.8 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.537e-06/0.01349, allocations: 3.984 kB / 285.8 MB, free: 4.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000757/0.01424, allocations: 1.186 MB / 287 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.01425, allocations: 3.938 kB / 287 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.01449, allocations: 280.1 kB / 287.3 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.01451, allocations: 19.81 kB / 287.3 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.01453, allocations: 11.94 kB / 287.3 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.01463, allocations: 27.91 kB / 287.3 MB, free: 2.652 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.01468, allocations: 23.97 kB / 287.3 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.01468, allocations: 0 / 287.3 MB, free: 2.629 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.495e-05/0.01475, allocations: 94.75 kB / 287.4 MB, free: 2.535 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01475, allocations: 0 / 287.4 MB, free: 2.535 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002022/0.01495, allocations: 79.86 kB / 287.5 MB, free: 2.457 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 9.357e-05/0.01504, allocations: 88.36 kB / 287.6 MB, free: 2.359 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002788/0.01532, allocations: 314.6 kB / 287.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.01533, allocations: 4 kB / 287.9 MB, free: 2.016 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.01543, allocations: 156.1 kB / 288.1 MB, free: 1.848 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.01564, allocations: 64.27 kB / 288.1 MB, free: 1.785 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.01675, allocations: 0.6688 MB / 288.8 MB, free: 1.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.49e-05/0.01681, allocations: 88.17 kB / 288.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.708e-05/0.01688, allocations: 34.95 kB / 288.9 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.01701, allocations: 103.3 kB / 289 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01702, allocations: 0 / 289 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of Templates: time 0.09412/0.1111, allocations: 4.495 MB / 293.5 MB, free: 25.21 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.614157469943166]