Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.00102/0.00102, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001139/0.001139, allocations: 166.8 kB / 24.99 MB, free: 8.336 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 1.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 273.1 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.106e-05, allocations: 2.312 kB / 273.1 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003186/0.003217, allocations: 3.083 MB / 276.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.004563, allocations: 0.783 MB / 277 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.004742, allocations: 12 kB / 277 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.004901, allocations: 51.5 kB / 277 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.005097, allocations: 126.9 kB / 277.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.005411, allocations: 131.7 kB / 277.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004277/0.005839, allocations: 474 kB / 277.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.00603, allocations: 87.5 kB / 277.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003859/0.006416, allocations: 275.3 kB / 278.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003993/0.006815, allocations: 143.6 kB / 278.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.076e-05/0.006866, allocations: 47.98 kB / 278.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.247e-05/0.006909, allocations: 44 kB / 278.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.939e-05/0.006968, allocations: 87.67 kB / 278.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.007075, allocations: 139.7 kB / 278.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.007362, allocations: 287 kB / 278.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.007365, allocations: 0 / 278.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007366, allocations: 0 / 278.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.007374, allocations: 4 kB / 278.8 MB, free: 12.02 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.0008267/0.0082, allocations: 0.7196 MB / 279.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.008234, allocations: 12.03 kB / 279.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.581e-05/0.00832, allocations: 60.7 kB / 279.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.008595, allocations: 251.5 kB / 279.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.008611, allocations: 21.03 kB / 279.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.008651, allocations: 32.33 kB / 279.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.009037, allocations: 327.3 kB / 280.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.009047, allocations: 4.172 kB / 280.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.009071, allocations: 15.94 kB / 280.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.009083, allocations: 11.98 kB / 280.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.009264, allocations: 107.9 kB / 280.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.01043, allocations: 1.139 MB / 281.5 MB, free: 9.156 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.0106, allocations: 107 kB / 281.6 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.633e-05/0.01067, allocations: 47.61 kB / 281.7 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.01069, allocations: 4 kB / 281.7 MB, free: 8.984 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.01088, allocations: 190.1 kB / 281.9 MB, free: 8.762 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.01088, allocations: 0 / 281.9 MB, free: 8.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007104/0.01159, allocations: 332.8 kB / 282.2 MB, free: 8.426 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.01163, allocations: 106.8 kB / 282.3 MB, free: 8.297 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.01185, allocations: 316.2 kB / 282.6 MB, free: 7.973 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.01187, allocations: 29.7 kB / 282.6 MB, free: 7.938 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.01199, allocations: 259 kB / 282.9 MB, free: 7.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.01202, allocations: 59.52 kB / 282.9 MB, free: 7.621 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.844e-05/0.01209, allocations: 63.3 kB / 283 MB, free: 7.551 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.01221, allocations: 0.504 MB / 283.5 MB, free: 7.035 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.09e-05/0.0123, allocations: 61.69 kB / 283.6 MB, free: 6.969 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.01245, allocations: 252.7 kB / 283.8 MB, free: 6.645 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.01263, allocations: 225 kB / 284 MB, free: 6.371 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.01264, allocations: 8 kB / 284 MB, free: 6.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003978/0.01304, allocations: 340.4 kB / 284.4 MB, free: 6.008 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.01306, allocations: 37.7 kB / 284.4 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01307, allocations: 0 / 284.4 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002586/0.01333, allocations: 79.7 kB / 284.5 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.01346, allocations: 51.91 kB / 284.5 MB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.01486, allocations: 2.153 MB / 286.7 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.01501, allocations: 43.86 kB / 286.7 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.01502, allocations: 12 kB / 286.8 MB, free: 3.5 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 (26): * Single equations (assignments): 24 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 9.817e-05/0.01512, allocations: 184.4 kB / 286.9 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.01515, allocations: 27.86 kB / 287 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.01518, allocations: 29.77 kB / 287 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.01518, allocations: 0 / 287 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.01518, allocations: 4.125 kB / 287 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01518, allocations: 8 kB / 287 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.01535, allocations: 232.4 kB / 287.2 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01535, allocations: 0 / 287.2 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.797e-05/0.01543, allocations: 31.92 kB / 287.3 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001684/0.01559, allocations: 67.64 kB / 287.3 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.01561, allocations: 11.98 kB / 287.3 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008524/0.01646, allocations: 1.881 MB / 289.2 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01646, allocations: 11.91 kB / 289.2 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.0168, allocations: 262.5 kB / 289.5 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.01682, allocations: 23.81 kB / 289.5 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.01685, allocations: 7.984 kB / 289.5 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.919e-05/0.01694, allocations: 23.98 kB / 289.5 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.01699, allocations: 15.97 kB / 289.6 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.017, allocations: 12.02 kB / 289.6 MB, free: 496 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00012/0.01712, allocations: 221.1 kB / 289.8 MB, free: 272 kB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01712, allocations: 0 / 289.8 MB, free: 272 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.000247/0.01737, allocations: 83.83 kB / 289.9 MB, free: 188 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.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 (11): * Single equations (assignments): 8 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 9.446e-05/0.01746, allocations: 103.2 kB / 290 MB, free: 76 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003918/0.01785, allocations: 390.1 kB / 290.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01785, allocations: 4.062 kB / 290.3 MB, free: 15.65 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.01801, allocations: 245.4 kB / 290.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.01821, allocations: 52.34 kB / 290.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008509/0.01906, allocations: 0.5205 MB / 291.2 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.134e-05/0.01912, allocations: 96.19 kB / 291.3 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.43e-05/0.01919, allocations: 26.28 kB / 291.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/0.01924, allocations: 20.5 kB / 291.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01924, allocations: 3.938 kB / 291.3 MB, free: 14.63 MB / 282.7 MB Notification: Performance of Templates: time 0.006147/0.02538, allocations: 4.485 MB / 295.8 MB, free: 10.22 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.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: 3.0632185018621385]