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.00167/0.00167, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 14.72 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.002015/0.002015, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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 1.546/1.546, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001539/0.001539, allocations: 47.92 kB / 374.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1117, allocations: 53.33 MB / 427.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004868/0.1166, allocations: 3.108 MB / 430.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.1183, allocations: 0.8064 MB / 431.4 MB, free: 324 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002187/0.1185, allocations: 7.938 kB / 431.4 MB, free: 316 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.1187, allocations: 51.48 kB / 431.5 MB, free: 264 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.119, allocations: 127 kB / 431.6 MB, free: 136 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.1193, allocations: 127.8 kB / 431.7 MB, free: 8 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2099/0.3293, allocations: 447.5 kB / 432.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.3295, allocations: 90.53 kB / 432.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00036/0.3299, allocations: 193 kB / 432.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.3301, allocations: 187.6 kB / 432.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.804e-05/0.3302, allocations: 44.38 kB / 432.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.359e-05/0.3302, allocations: 43.47 kB / 432.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.654e-05/0.3303, allocations: 91.39 kB / 432.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.3305, allocations: 190.6 kB / 433 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004262/0.3309, allocations: 0.4908 MB / 433.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3309, allocations: 1.188 kB / 433.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3309, allocations: 3.938 kB / 433.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3309, allocations: 0.8438 kB / 433.5 MB, free: 7.988 MB / 350.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.00117/0.3321, allocations: 0.7103 MB / 434.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.3321, allocations: 9.844 kB / 434.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.104e-05/0.3322, allocations: 40.42 kB / 434.3 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.3325, allocations: 312.5 kB / 434.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.3326, allocations: 21.97 kB / 434.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/0.3326, allocations: 31.44 kB / 434.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007059/0.3333, allocations: 353.5 kB / 435 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3333, allocations: 0 / 435 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.3334, allocations: 15.69 kB / 435 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.3334, allocations: 10.19 kB / 435 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008201/0.3342, allocations: 296 kB / 435.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.3362, allocations: 1.282 MB / 436.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006913/0.3369, allocations: 215.8 kB / 436.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/0.3373, allocations: 113.1 kB / 436.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.3373, allocations: 3.141 kB / 436.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000477/0.3378, allocations: 193.2 kB / 437.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.3378, allocations: 0 / 437.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002458/0.3402, allocations: 0.6801 MB / 437.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.3403, allocations: 115.7 kB / 437.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.3406, allocations: 293.2 kB / 438.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.3406, allocations: 30.77 kB / 438.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.3407, allocations: 214.1 kB / 438.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.3408, allocations: 52.41 kB / 438.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-05/0.3409, allocations: 60.05 kB / 438.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.163e-05/0.3409, allocations: 340.3 kB / 438.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.3413, allocations: 115.5 kB / 438.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.3417, allocations: 206.3 kB / 439.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007151/0.3424, allocations: 321.4 kB / 439.5 MB, free: 5.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3424, allocations: 1.781 kB / 439.5 MB, free: 5.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001308/0.3437, allocations: 494.8 kB / 439.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.3438, allocations: 34.22 kB / 440 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.3438, allocations: 6.875 kB / 440 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000384/0.3442, allocations: 90.86 kB / 440.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.3444, allocations: 53.72 kB / 440.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002309/0.3467, allocations: 1.995 MB / 442.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.3471, allocations: 56.94 kB / 442.2 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.3471, allocations: 8.859 kB / 442.2 MB, free: 3.25 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.0001452/0.3473, allocations: 158 kB / 442.3 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.3473, allocations: 28.89 kB / 442.4 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/0.3474, allocations: 31.77 kB / 442.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3474, allocations: 2.797 kB / 442.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.3474, allocations: 6.75 kB / 442.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3474, allocations: 3.938 kB / 442.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.3477, allocations: 336.5 kB / 442.7 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3477, allocations: 0 / 442.7 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.3479, allocations: 29.67 kB / 442.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002871/0.3481, allocations: 83.23 kB / 442.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.3482, allocations: 6.453 kB / 442.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.3503, allocations: 1.815 MB / 444.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3503, allocations: 0.5625 kB / 444.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.3517, allocations: 0.4899 MB / 445.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.962e-05/0.3518, allocations: 107.9 kB / 445.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.3519, allocations: 9.469 kB / 445.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.3521, allocations: 35.91 kB / 445.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/0.3522, allocations: 19.53 kB / 445.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.3522, allocations: 7.875 kB / 445.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.3524, allocations: 208.6 kB / 445.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3524, allocations: 0 / 445.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00044/0.3528, allocations: 85.11 kB / 445.6 MB, free: 0.8047 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.0001308/0.353, allocations: 115.4 kB / 445.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.354, allocations: 443.5 kB / 446.2 MB, free: 468 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.354, allocations: 0 / 446.2 MB, free: 468 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004715/0.3545, allocations: 243.3 kB / 446.4 MB, free: 316 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.3548, allocations: 58.64 kB / 446.5 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.3561, allocations: 0.622 MB / 447.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.3565, allocations: 0.7649 MB / 447.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.207e-05/0.3566, allocations: 22.92 kB / 447.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3566, allocations: 0 / 447.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of Templates: time 0.008712/0.3653, allocations: 5.212 MB / 453.1 MB, free: 14.2 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.7410673089907505]