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.002133/0.002133, allocations: 77.39 kB / 20.68 MB, free: 1.035 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.002448/0.002448, allocations: 155.3 kB / 23.94 MB, free: 4.176 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.492/1.492, allocations: 173.3 MB / 200.4 MB, free: 12.9 MB / 190.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 1.984e-06/1.984e-06, allocations: 0 / 319 MB, free: 3.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.309e-05, allocations: 2.281 kB / 319 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004385/0.004418, allocations: 2.857 MB / 321.8 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.005692, allocations: 0.7323 MB / 322.6 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.005862, allocations: 8.75 kB / 322.6 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.006043, allocations: 52.69 kB / 322.6 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.006261, allocations: 126.8 kB / 322.7 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.006626, allocations: 135.7 kB / 322.9 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005736/0.007199, allocations: 474.9 kB / 323.3 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.007453, allocations: 85.62 kB / 323.4 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004184/0.007871, allocations: 266.8 kB / 323.7 MB, free: 484 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.008128, allocations: 140.8 kB / 323.8 MB, free: 432 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.533e-05/0.008204, allocations: 43.41 kB / 323.9 MB, free: 432 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-05/0.008288, allocations: 44.19 kB / 323.9 MB, free: 432 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.87e-05/0.008387, allocations: 95.28 kB / 324 MB, free: 360 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.008582, allocations: 132.7 kB / 324.1 MB, free: 296 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000713/0.009295, allocations: 0.5089 MB / 324.6 MB, free: 92 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.0093, allocations: 0 / 324.6 MB, free: 92 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.009301, allocations: 1.188 kB / 324.6 MB, free: 92 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.009317, allocations: 3.188 kB / 324.6 MB, free: 92 kB / 286.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.001574/0.01089, allocations: 0.6277 MB / 325.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.01093, allocations: 9.875 kB / 325.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.772e-05/0.01103, allocations: 40.05 kB / 325.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005381/0.01157, allocations: 252.3 kB / 325.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.0116, allocations: 22.25 kB / 325.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/0.01167, allocations: 26.56 kB / 325.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009135/0.01258, allocations: 406.5 kB / 326 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.0126, allocations: 192 / 326 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.01264, allocations: 14.69 kB / 326 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.01265, allocations: 6.875 kB / 326 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009527/0.0136, allocations: 305.5 kB / 326.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/0.01605, allocations: 1.1 MB / 327.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008245/0.01688, allocations: 220.5 kB / 327.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004017/0.01728, allocations: 116.6 kB / 327.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.0173, allocations: 2.719 kB / 327.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005952/0.0179, allocations: 237.2 kB / 328 MB, free: 14.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.0179, allocations: 0 / 328 MB, free: 14.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002661/0.02056, allocations: 0.6095 MB / 328.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.02067, allocations: 111.5 kB / 328.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.02114, allocations: 281.4 kB / 329 MB, free: 13.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.02118, allocations: 31.95 kB / 329 MB, free: 13.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.02139, allocations: 214.3 kB / 329.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.721e-05/0.02146, allocations: 55.62 kB / 329.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.02158, allocations: 56.78 kB / 329.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.02176, allocations: 336.3 kB / 329.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/0.0222, allocations: 141.8 kB / 329.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005284/0.02273, allocations: 294.9 kB / 330.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008334/0.02356, allocations: 335.4 kB / 330.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.02356, allocations: 0 / 330.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00147/0.02503, allocations: 0.5095 MB / 330.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/0.02508, allocations: 37 kB / 331 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.02509, allocations: 2.375 kB / 331 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004481/0.02554, allocations: 88.62 kB / 331 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.02584, allocations: 54.23 kB / 331.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003037/0.02887, allocations: 1.853 MB / 333 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/0.02929, allocations: 65.62 kB / 333 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.02933, allocations: 17.75 kB / 333 MB, free: 10.5 MB / 302.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.0002174/0.02954, allocations: 150.9 kB / 333.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.02959, allocations: 28.23 kB / 333.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.818e-05/0.02966, allocations: 28.2 kB / 333.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.02966, allocations: 2.125 kB / 333.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.02966, allocations: 0 / 333.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.02967, allocations: 3.938 kB / 333.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.02999, allocations: 240.6 kB / 333.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.03, allocations: 0 / 333.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.0302, allocations: 32.28 kB / 333.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003056/0.0305, allocations: 86.02 kB / 333.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.03052, allocations: 0.875 kB / 333.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002541/0.03306, allocations: 1.68 MB / 335.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.03306, allocations: 3.938 kB / 335.3 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.03467, allocations: 491.4 kB / 335.8 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.03473, allocations: 29.62 kB / 335.8 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.03477, allocations: 10.38 kB / 335.8 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.03505, allocations: 31.66 kB / 335.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.339e-05/0.03514, allocations: 22.86 kB / 335.8 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.03516, allocations: 3.438 kB / 335.9 MB, free: 8.254 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002418/0.0354, allocations: 203.8 kB / 336.1 MB, free: 8.117 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0354, allocations: 0 / 336.1 MB, free: 8.117 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004635/0.03587, allocations: 84.66 kB / 336.1 MB, free: 8.102 MB / 302.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.0001701/0.03604, allocations: 112.3 kB / 336.2 MB, free: 7.996 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.03724, allocations: 468.9 kB / 336.7 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.03724, allocations: 1.375 kB / 336.7 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000533/0.03778, allocations: 231.5 kB / 336.9 MB, free: 7.488 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.03815, allocations: 56.77 kB / 337 MB, free: 7.457 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.03949, allocations: 0.5425 MB / 337.5 MB, free: 7.074 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.03966, allocations: 162.8 kB / 337.7 MB, free: 6.953 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.00012/0.03978, allocations: 32.2 kB / 337.7 MB, free: 6.938 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.362e-05/0.03985, allocations: 21.22 kB / 337.7 MB, free: 6.93 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.03986, allocations: 0 / 337.7 MB, free: 6.93 MB / 302.1 MB Notification: Performance of Templates: time 0.01011/0.04996, allocations: 4.37 MB / 342.1 MB, free: 3.828 MB / 302.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.5276476964354515]