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.001172/0.001172, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001134/0.001134, allocations: 186 kB / 22.21 MB, free: 116 kB / 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.498/1.498, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.001513/0.001513, allocations: 51.92 kB / 368.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2808, allocations: 52.13 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004997/0.2858, allocations: 3.114 MB / 424 MB, free: 12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.2873, allocations: 0.7715 MB / 424.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.2875, allocations: 11.94 kB / 424.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.2877, allocations: 55.5 kB / 424.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.288, allocations: 119 kB / 425 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.2883, allocations: 123.8 kB / 425.1 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005235/0.2888, allocations: 454.3 kB / 425.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.2891, allocations: 94.94 kB / 425.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.2894, allocations: 187.3 kB / 425.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.2896, allocations: 187.2 kB / 426 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.994e-05/0.2897, allocations: 44 kB / 426 MB, free: 9.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.719e-05/0.2898, allocations: 44 kB / 426.1 MB, free: 9.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.432e-05/0.2899, allocations: 79.7 kB / 426.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.2901, allocations: 203 kB / 426.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005988/0.2907, allocations: 499.3 kB / 426.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2907, allocations: 3.984 kB / 426.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2907, allocations: 4 kB / 426.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.383e-06/0.2907, allocations: 0 / 426.8 MB, free: 9.152 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.001526/0.2922, allocations: 0.7176 MB / 427.6 MB, free: 8.383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.2923, allocations: 15.89 kB / 427.6 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.2924, allocations: 40.7 kB / 427.6 MB, free: 8.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.2929, allocations: 310.8 kB / 427.9 MB, free: 7.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.2929, allocations: 24.94 kB / 427.9 MB, free: 7.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.988e-05/0.293, allocations: 32.31 kB / 428 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007984/0.2938, allocations: 355.5 kB / 428.3 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.2938, allocations: 0 / 428.3 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.2938, allocations: 12 kB / 428.3 MB, free: 7.566 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.2938, allocations: 8 kB / 428.3 MB, free: 7.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008332/0.2947, allocations: 302 kB / 428.6 MB, free: 7.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002337/0.297, allocations: 1.275 MB / 429.9 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006738/0.2977, allocations: 210.4 kB / 430.1 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/0.298, allocations: 112.8 kB / 430.2 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.2981, allocations: 7.984 kB / 430.2 MB, free: 5.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004984/0.2986, allocations: 193.3 kB / 430.4 MB, free: 5.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.2986, allocations: 0 / 430.4 MB, free: 5.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002425/0.301, allocations: 0.6863 MB / 431.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/0.3011, allocations: 106.8 kB / 431.2 MB, free: 4.512 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.3014, allocations: 291 kB / 431.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.3015, allocations: 29.7 kB / 431.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.3017, allocations: 216 kB / 431.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.623e-05/0.3017, allocations: 55.53 kB / 431.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.3018, allocations: 53.66 kB / 431.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.302, allocations: 350.7 kB / 432.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.3023, allocations: 107.9 kB / 432.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004345/0.3028, allocations: 216.4 kB / 432.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007445/0.3035, allocations: 323.8 kB / 432.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3035, allocations: 0 / 432.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001272/0.3048, allocations: 487.8 kB / 433.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.518e-05/0.3048, allocations: 41.64 kB / 433.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3049, allocations: 0 / 433.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004225/0.3053, allocations: 88.86 kB / 433.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.3055, allocations: 51.91 kB / 433.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/0.3085, allocations: 2.002 MB / 435.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/0.3088, allocations: 51.81 kB / 435.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.3089, allocations: 12 kB / 435.5 MB, free: 15.9 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.0002316/0.3091, allocations: 162 kB / 435.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.3091, allocations: 27.8 kB / 435.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.917e-05/0.3092, allocations: 29.86 kB / 435.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3092, allocations: 3.938 kB / 435.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.3092, allocations: 4 kB / 435.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3092, allocations: 4.031 kB / 435.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.3096, allocations: 341.4 kB / 436.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3096, allocations: 0 / 436.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.3098, allocations: 31.91 kB / 436.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002892/0.3101, allocations: 88.8 kB / 436.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.3101, allocations: 0 / 436.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002528/0.3126, allocations: 1.813 MB / 438 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3126, allocations: 0 / 438 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.3141, allocations: 0.4889 MB / 438.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-05/0.3142, allocations: 105 kB / 438.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.3142, allocations: 11.94 kB / 438.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.3145, allocations: 35.95 kB / 438.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.505e-05/0.3146, allocations: 15.98 kB / 438.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.3146, allocations: 7.984 kB / 438.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002591/0.3148, allocations: 206 kB / 438.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3148, allocations: 4 kB / 438.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004306/0.3153, allocations: 95.78 kB / 439 MB, free: 12.21 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.0001869/0.3155, allocations: 103.2 kB / 439.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.3166, allocations: 444.5 kB / 439.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.3166, allocations: 4 kB / 439.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000494/0.3171, allocations: 235.1 kB / 439.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.3176, allocations: 60.78 kB / 439.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.319, allocations: 0.6028 MB / 440.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.3194, allocations: 0.7639 MB / 441.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.3195, allocations: 34.95 kB / 441.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.3196, allocations: 23.44 kB / 441.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3196, allocations: 0 / 441.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of Templates: time 0.009518/0.3291, allocations: 4.578 MB / 445.8 MB, free: 5.32 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins/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: 4.589947439730167]