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.0009995/0.0009995, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001543/0.002542, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001002/0.001002, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001341/0.002344, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9911/0.9911, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09013/1.081, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.212e-06/1.212e-06, allocations: 0 / 244.7 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.577e-05, allocations: 2.312 kB / 244.7 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.009405/0.009421, allocations: 3.122 MB / 247.9 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.01078, allocations: 0.8139 MB / 248.7 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.01092, allocations: 7.938 kB / 248.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.01104, allocations: 59.44 kB / 248.8 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.01123, allocations: 123 kB / 248.9 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.01146, allocations: 127.7 kB / 249 MB, free: 9.906 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004037/0.01187, allocations: 466 kB / 249.5 MB, free: 9.449 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.01203, allocations: 98.05 kB / 249.5 MB, free: 9.355 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004956/0.01698, allocations: 319.7 kB / 249.9 MB, free: 9.043 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.01721, allocations: 147.6 kB / 250 MB, free: 8.898 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.031e-05/0.01727, allocations: 47.94 kB / 250 MB, free: 8.852 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.924e-05/0.01734, allocations: 44 kB / 250.1 MB, free: 8.809 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.568e-05/0.01741, allocations: 63.81 kB / 250.2 MB, free: 8.746 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.01753, allocations: 111.8 kB / 250.3 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.01787, allocations: 263 kB / 250.5 MB, free: 8.379 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.01788, allocations: 4 kB / 250.5 MB, free: 8.375 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.01788, allocations: 0 / 250.5 MB, free: 8.375 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.01789, allocations: 0 / 250.5 MB, free: 8.375 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009203/0.01881, allocations: 0.6649 MB / 251.2 MB, free: 7.68 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.01884, allocations: 11.98 kB / 251.2 MB, free: 7.668 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.244e-05/0.01894, allocations: 44.91 kB / 251.2 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.01923, allocations: 204.7 kB / 251.4 MB, free: 7.402 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.01926, allocations: 21.03 kB / 251.5 MB, free: 7.383 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/0.01931, allocations: 32.38 kB / 251.5 MB, free: 7.352 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004499/0.01976, allocations: 309.6 kB / 251.8 MB, free: 7.02 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.01978, allocations: 192 / 251.8 MB, free: 7.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.0198, allocations: 11.94 kB / 251.8 MB, free: 7.008 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.01981, allocations: 8 kB / 251.8 MB, free: 7 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.01998, allocations: 80.55 kB / 251.9 MB, free: 6.922 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.02136, allocations: 0.885 MB / 252.8 MB, free: 5.973 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.02154, allocations: 98.47 kB / 252.9 MB, free: 5.867 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.179e-05/0.0216, allocations: 36.83 kB / 252.9 MB, free: 5.828 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.02163, allocations: 4 kB / 252.9 MB, free: 5.824 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.02183, allocations: 165 kB / 253.1 MB, free: 5.633 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.02184, allocations: 0 / 253.1 MB, free: 5.633 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008299/0.02267, allocations: 286.1 kB / 253.4 MB, free: 5.344 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.0227, allocations: 55.41 kB / 253.4 MB, free: 5.277 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.02292, allocations: 260.8 kB / 253.7 MB, free: 5.012 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.02295, allocations: 29.7 kB / 253.7 MB, free: 4.977 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.02307, allocations: 192.8 kB / 253.9 MB, free: 4.777 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.02311, allocations: 51.58 kB / 253.9 MB, free: 4.727 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/0.02321, allocations: 57.67 kB / 254 MB, free: 4.664 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.02332, allocations: 334.8 kB / 254.3 MB, free: 4.328 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.823e-05/0.02339, allocations: 53.69 kB / 254.4 MB, free: 4.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.02355, allocations: 201.3 kB / 254.6 MB, free: 4.012 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.02375, allocations: 202.5 kB / 254.8 MB, free: 3.773 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.02376, allocations: 0 / 254.8 MB, free: 3.773 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004211/0.02418, allocations: 269.8 kB / 255 MB, free: 3.488 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/0.02422, allocations: 37.7 kB / 255.1 MB, free: 3.445 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.02423, allocations: 0 / 255.1 MB, free: 3.445 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002943/0.02452, allocations: 76.83 kB / 255.1 MB, free: 3.367 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.02473, allocations: 59.91 kB / 255.2 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.02592, allocations: 1.461 MB / 256.7 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.02613, allocations: 51.78 kB / 256.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.02615, allocations: 12 kB / 256.7 MB, free: 1.699 MB / 250.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 0.00011/0.02626, allocations: 129.7 kB / 256.8 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.0263, allocations: 19.97 kB / 256.9 MB, free: 1.543 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.02634, allocations: 29.77 kB / 256.9 MB, free: 1.516 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.02634, allocations: 4.031 kB / 256.9 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.02634, allocations: 0 / 256.9 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.02635, allocations: 4 kB / 256.9 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.02653, allocations: 165.6 kB / 257.1 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.02653, allocations: 0 / 257.1 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.02668, allocations: 35.91 kB / 257.1 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.02672, allocations: 19.8 kB / 257.1 MB, free: 1.273 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002238/0.02694, allocations: 68.81 kB / 257.2 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.02696, allocations: 7.984 kB / 257.2 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009555/0.02791, allocations: 1.285 MB / 258.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02791, allocations: 0 / 258.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.02827, allocations: 205.4 kB / 258.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.0283, allocations: 3.938 kB / 258.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.02843, allocations: 31.97 kB / 258.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.02849, allocations: 23.97 kB / 258.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.0285, allocations: 3.984 kB / 258.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.981e-05/0.0286, allocations: 86.78 kB / 258.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0286, allocations: 0 / 258.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00034/0.02894, allocations: 83.89 kB / 258.9 MB, free: 15.38 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: 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.38e-05/0.02903, allocations: 80.41 kB / 259 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003746/0.02941, allocations: 330.3 kB / 259.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.02942, allocations: 4 kB / 259.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.02962, allocations: 187.2 kB / 259.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.03004, allocations: 0.5466 MB / 260 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.03265, allocations: 0.5124 MB / 260.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.457e-05/0.03271, allocations: 84.62 kB / 260.6 MB, free: 13.44 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.03283, allocations: 30.95 kB / 260.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.03302, allocations: 107.3 kB / 260.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.03302, allocations: 0 / 260.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of Templates: time 0.008538/0.04156, allocations: 4.943 MB / 265.7 MB, free: 8.441 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.729497043415904]