Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002308/0.002308, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 47.92 kB / 371.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2611, allocations: 52.19 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004978/0.2661, allocations: 3.106 MB / 427 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.2678, allocations: 0.7793 MB / 427.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.268, allocations: 11.94 kB / 427.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.2682, allocations: 51.5 kB / 427.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.2684, allocations: 119 kB / 428 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.2688, allocations: 127.8 kB / 428.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005619/0.2694, allocations: 454.3 kB / 428.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.2696, allocations: 99.5 kB / 428.6 MB, free: 9.938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.2699, allocations: 179.3 kB / 428.8 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.2701, allocations: 191.2 kB / 429 MB, free: 9.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.633e-05/0.2702, allocations: 44 kB / 429 MB, free: 9.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.171e-05/0.2703, allocations: 44 kB / 429.1 MB, free: 9.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.2704, allocations: 83.7 kB / 429.2 MB, free: 9.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.2706, allocations: 195.1 kB / 429.4 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005629/0.2712, allocations: 0.4954 MB / 429.9 MB, free: 8.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2712, allocations: 0 / 429.9 MB, free: 8.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2712, allocations: 0 / 429.9 MB, free: 8.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.2712, allocations: 4 kB / 429.9 MB, free: 8.719 MB / 334.1 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.001427/0.2726, allocations: 0.6355 MB / 430.5 MB, free: 8.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2726, allocations: 12.03 kB / 430.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.661e-05/0.2727, allocations: 40.7 kB / 430.5 MB, free: 7.992 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004699/0.2732, allocations: 256.9 kB / 430.8 MB, free: 7.719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.2732, allocations: 21.03 kB / 430.8 MB, free: 7.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.406e-05/0.2733, allocations: 28.31 kB / 430.8 MB, free: 7.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007778/0.2741, allocations: 361 kB / 431.2 MB, free: 7.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2741, allocations: 3.938 kB / 431.2 MB, free: 7.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.2741, allocations: 12 kB / 431.2 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.2741, allocations: 4 kB / 431.2 MB, free: 7.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000865/0.275, allocations: 302.4 kB / 431.5 MB, free: 6.996 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/0.2773, allocations: 1.237 MB / 432.8 MB, free: 5.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006692/0.278, allocations: 217.3 kB / 433 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003287/0.2783, allocations: 108.8 kB / 433.1 MB, free: 5.348 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.2784, allocations: 4 kB / 433.1 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004819/0.2788, allocations: 189.8 kB / 433.3 MB, free: 5.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.2788, allocations: 0 / 433.3 MB, free: 5.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002392/0.2812, allocations: 0.611 MB / 433.9 MB, free: 4.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.893e-05/0.2813, allocations: 110.8 kB / 434 MB, free: 4.383 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.2817, allocations: 288.2 kB / 434.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.2817, allocations: 29.7 kB / 434.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.2819, allocations: 216 kB / 434.5 MB, free: 3.844 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.544e-05/0.2819, allocations: 55.53 kB / 434.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.282, allocations: 57.66 kB / 434.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.2822, allocations: 338.8 kB / 434.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.2826, allocations: 111.9 kB / 435.1 MB, free: 3.277 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.283, allocations: 215.9 kB / 435.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007741/0.2838, allocations: 315.8 kB / 435.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2838, allocations: 4 kB / 435.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001335/0.2852, allocations: 490.2 kB / 436.1 MB, free: 2.176 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.412e-05/0.2852, allocations: 37.64 kB / 436.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2852, allocations: 4.062 kB / 436.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004052/0.2856, allocations: 80.8 kB / 436.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.2859, allocations: 59.89 kB / 436.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00298/0.2889, allocations: 1.903 MB / 438.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.2892, allocations: 51.81 kB / 438.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.2893, allocations: 11.98 kB / 438.2 MB, free: 15.91 MB / 350.1 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.0001979/0.2895, allocations: 157.8 kB / 438.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.2895, allocations: 27.8 kB / 438.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.172e-05/0.2896, allocations: 29.8 kB / 438.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2896, allocations: 7.938 kB / 438.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.2896, allocations: 0 / 438.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.2896, allocations: 0 / 438.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.2899, allocations: 316.5 kB / 438.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2899, allocations: 0 / 438.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.2901, allocations: 39.91 kB / 438.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002962/0.2904, allocations: 76.8 kB / 438.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.2904, allocations: 4 kB / 438.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002582/0.293, allocations: 1.709 MB / 440.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.293, allocations: 8 kB / 440.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.2945, allocations: 0.4931 MB / 441.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.2946, allocations: 27.88 kB / 441.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.526e-05/0.2946, allocations: 7.938 kB / 441.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.2949, allocations: 31.95 kB / 441.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.464e-05/0.295, allocations: 23.97 kB / 441.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.295, allocations: 4 kB / 441.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002481/0.2952, allocations: 211.1 kB / 441.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2952, allocations: 4 kB / 441.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004325/0.2957, allocations: 91.78 kB / 441.4 MB, free: 12.46 MB / 350.1 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 0.000143/0.2958, allocations: 105.1 kB / 441.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.2969, allocations: 442 kB / 442 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2969, allocations: 0 / 442 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004933/0.2974, allocations: 243.1 kB / 442.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.2977, allocations: 53.12 kB / 442.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.299, allocations: 0.6208 MB / 442.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.2995, allocations: 0.7639 MB / 443.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.315e-05/0.2996, allocations: 19.44 kB / 443.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2996, allocations: 0 / 443.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of Templates: time 0.008047/0.3076, allocations: 5.219 MB / 448.9 MB, free: 4.93 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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: 7.4444106698501855]