Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.0007815/0.0007815, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000955/0.001736, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006777/0.0006777, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008171/0.001495, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9626/0.9626, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08119/1.044, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 245.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.657e-05, allocations: 2.312 kB / 245.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.002862/0.002879, allocations: 3.146 MB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009737/0.003852, allocations: 0.7751 MB / 249 MB, free: 9.656 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.003965, allocations: 7.938 kB / 249 MB, free: 9.648 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.432e-05/0.00404, allocations: 51.5 kB / 249 MB, free: 9.598 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.004188, allocations: 126.9 kB / 249.2 MB, free: 9.473 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.004341, allocations: 119.7 kB / 249.3 MB, free: 9.355 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.004644, allocations: 469.9 kB / 249.7 MB, free: 8.895 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.004772, allocations: 98.06 kB / 249.8 MB, free: 8.801 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.005059, allocations: 311.6 kB / 250.1 MB, free: 8.496 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.005215, allocations: 151.6 kB / 250.3 MB, free: 8.348 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.926e-05/0.005255, allocations: 48 kB / 250.3 MB, free: 8.301 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.046e-05/0.005295, allocations: 44 kB / 250.4 MB, free: 8.258 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.117e-05/0.005336, allocations: 67.75 kB / 250.4 MB, free: 8.191 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.33e-05/0.005419, allocations: 111.8 kB / 250.5 MB, free: 8.082 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.005641, allocations: 267.1 kB / 250.8 MB, free: 7.82 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.005648, allocations: 0 / 250.8 MB, free: 7.82 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005649, allocations: 0 / 250.8 MB, free: 7.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.005657, allocations: 0 / 250.8 MB, free: 7.82 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0005992/0.006257, allocations: 0.6572 MB / 251.5 MB, free: 7.133 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.16e-05/0.006278, allocations: 16.03 kB / 251.5 MB, free: 7.117 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.006331, allocations: 48.89 kB / 251.5 MB, free: 7.07 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.006523, allocations: 204.7 kB / 251.7 MB, free: 6.848 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.006536, allocations: 21.03 kB / 251.7 MB, free: 6.828 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.006566, allocations: 40.34 kB / 251.8 MB, free: 6.789 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.006798, allocations: 288.4 kB / 252.1 MB, free: 6.477 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.006804, allocations: 192 / 252.1 MB, free: 6.477 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.006821, allocations: 15.94 kB / 252.1 MB, free: 6.461 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.006825, allocations: 8 kB / 252.1 MB, free: 6.453 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.646e-05/0.006921, allocations: 80.48 kB / 252.2 MB, free: 6.375 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00082/0.007742, allocations: 0.8447 MB / 253 MB, free: 5.469 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.8e-05/0.00784, allocations: 86.53 kB / 253.1 MB, free: 5.375 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.855e-05/0.007878, allocations: 32.86 kB / 253.1 MB, free: 5.34 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.007891, allocations: 0 / 253.1 MB, free: 5.34 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.008033, allocations: 211.8 kB / 253.3 MB, free: 5.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 8.21e-07/0.008034, allocations: 0 / 253.3 MB, free: 5.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004064/0.008441, allocations: 237.7 kB / 253.6 MB, free: 4.852 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.008462, allocations: 51.41 kB / 253.6 MB, free: 4.789 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.008591, allocations: 252.9 kB / 253.9 MB, free: 4.527 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.008611, allocations: 37.69 kB / 253.9 MB, free: 4.484 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.008683, allocations: 200.7 kB / 254.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.008716, allocations: 63.48 kB / 254.2 MB, free: 4.219 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.00877, allocations: 57.64 kB / 254.2 MB, free: 4.156 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.998e-05/0.00885, allocations: 338.8 kB / 254.5 MB, free: 3.816 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-05/0.008892, allocations: 53.95 kB / 254.6 MB, free: 3.758 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.009007, allocations: 232.7 kB / 254.8 MB, free: 3.465 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.009144, allocations: 180.5 kB / 255 MB, free: 3.25 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.009146, allocations: 4 kB / 255 MB, free: 3.246 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002574/0.009403, allocations: 273.6 kB / 255.3 MB, free: 2.957 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.009432, allocations: 37.69 kB / 255.3 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.009438, allocations: 8 kB / 255.3 MB, free: 2.906 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001945/0.009633, allocations: 68.8 kB / 255.4 MB, free: 2.836 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.009757, allocations: 67.92 kB / 255.5 MB, free: 2.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008242/0.01058, allocations: 1.365 MB / 256.8 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.01071, allocations: 47.84 kB / 256.9 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.01072, allocations: 12.19 kB / 256.9 MB, free: 1.254 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,derivative.opAmp.satNeg,derivative.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 7.855e-05/0.0108, allocations: 133.7 kB / 257 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.01082, allocations: 23.97 kB / 257 MB, free: 1.09 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.01085, allocations: 34.11 kB / 257.1 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01085, allocations: 4 kB / 257.1 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.01085, allocations: 0 / 257.1 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.01085, allocations: 0 / 257.1 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.01098, allocations: 169.6 kB / 257.2 MB, free: 0.875 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.01098, allocations: 0 / 257.2 MB, free: 0.875 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.526e-05/0.01107, allocations: 31.97 kB / 257.3 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.01109, allocations: 27.8 kB / 257.3 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001552/0.01125, allocations: 76.78 kB / 257.4 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.01126, allocations: 0 / 257.4 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006969/0.01195, allocations: 1.364 MB / 258.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.01195, allocations: 3.938 kB / 258.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.01217, allocations: 208.9 kB / 258.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.01219, allocations: 11.97 kB / 259 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.01227, allocations: 23.98 kB / 259 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.01232, allocations: 23.95 kB / 259 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.01233, allocations: 8 kB / 259 MB, free: 14.99 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.322e-05/0.01239, allocations: 86.77 kB / 259.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01239, allocations: 3.938 kB / 259.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000197/0.01259, allocations: 95.78 kB / 259.2 MB, free: 14.8 MB / 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: 5 ($whenCondition1,derivative.opAmp.satPos,derivative.opAmp.satNeg,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 (13): * Single equations (assignments): 10 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 8.971e-05/0.01268, allocations: 84.45 kB / 259.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002947/0.01297, allocations: 335 kB / 259.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/0.01298, allocations: 4 kB / 259.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.01311, allocations: 187.9 kB / 259.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.01327, allocations: 80.12 kB / 259.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.01509, allocations: 0.5829 MB / 260.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.519e-05/0.01513, allocations: 88.62 kB / 260.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.326e-05/0.01521, allocations: 34.95 kB / 260.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.01533, allocations: 111.3 kB / 260.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01533, allocations: 0 / 260.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of Templates: time 0.006379/0.02171, allocations: 5.197 MB / 265.9 MB, free: 8.082 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 2.5698148664087057]