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.001134/0.001134, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001189/0.001189, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.073/1.073, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.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.914e-06/1.914e-06, allocations: 0 / 273 MB, free: 1.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.222e-05/3.414e-05, allocations: 2.312 kB / 273 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005858/0.005892, allocations: 3.091 MB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.007976, allocations: 0.787 MB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/0.008327, allocations: 7.938 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.009662, allocations: 51.5 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.01005, allocations: 130.9 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.01044, allocations: 131.7 kB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003927/0.01083, allocations: 470 kB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/0.01106, allocations: 91.5 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004224/0.01149, allocations: 271.3 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.01168, allocations: 139.6 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.218e-05/0.01173, allocations: 44 kB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.92e-05/0.01178, allocations: 48 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.88e-05/0.01185, allocations: 95.66 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.01197, allocations: 135.7 kB / 278.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.01235, allocations: 291 kB / 278.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.01235, allocations: 0 / 278.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.01235, allocations: 0 / 278.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.01236, allocations: 0 / 278.8 MB, free: 11.72 MB / 266.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.001014/0.01338, allocations: 0.7158 MB / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.01342, allocations: 8.031 kB / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.433e-05/0.01351, allocations: 68.64 kB / 279.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.01382, allocations: 251.5 kB / 279.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.01384, allocations: 21.03 kB / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/0.01389, allocations: 32.33 kB / 279.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.01432, allocations: 327.3 kB / 280.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.01433, allocations: 192 / 280.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.01436, allocations: 19.94 kB / 280.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.01437, allocations: 4 kB / 280.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002774/0.01465, allocations: 115.8 kB / 280.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.01589, allocations: 1.135 MB / 281.5 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.01607, allocations: 111 kB / 281.6 MB, free: 8.746 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.058e-05/0.01614, allocations: 43.66 kB / 281.6 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.01617, allocations: 11.94 kB / 281.6 MB, free: 8.688 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.01636, allocations: 179.5 kB / 281.8 MB, free: 8.473 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.01636, allocations: 0 / 281.8 MB, free: 8.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009445/0.0173, allocations: 339.8 kB / 282.1 MB, free: 8.133 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.01736, allocations: 106.8 kB / 282.2 MB, free: 8.004 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.01757, allocations: 320.2 kB / 282.5 MB, free: 7.676 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.01759, allocations: 33.7 kB / 282.6 MB, free: 7.637 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.01771, allocations: 259 kB / 282.8 MB, free: 7.379 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.01775, allocations: 51.53 kB / 282.9 MB, free: 7.328 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.504e-05/0.01781, allocations: 59.31 kB / 282.9 MB, free: 7.262 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.01794, allocations: 0.5079 MB / 283.4 MB, free: 6.742 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.138e-05/0.01802, allocations: 57.67 kB / 283.5 MB, free: 6.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.01819, allocations: 256.7 kB / 283.7 MB, free: 6.352 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.01839, allocations: 224.7 kB / 284 MB, free: 6.078 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.01839, allocations: 0 / 284 MB, free: 6.078 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004152/0.01881, allocations: 340.1 kB / 284.3 MB, free: 5.723 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.01885, allocations: 41.69 kB / 284.3 MB, free: 5.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.01885, allocations: 4 kB / 284.3 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002909/0.01914, allocations: 75.98 kB / 284.4 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.01929, allocations: 51.91 kB / 284.5 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.02083, allocations: 2.157 MB / 286.6 MB, free: 3.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.02097, allocations: 43.83 kB / 286.7 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.02098, allocations: 8.047 kB / 286.7 MB, free: 3.211 MB / 266.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.0001234/0.0211, allocations: 192.4 kB / 286.9 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.02114, allocations: 27.86 kB / 286.9 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.02117, allocations: 29.77 kB / 286.9 MB, free: 2.953 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.02117, allocations: 4 kB / 286.9 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.02118, allocations: 128 / 286.9 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.02118, allocations: 0 / 286.9 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.02136, allocations: 232.4 kB / 287.1 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.02136, allocations: 0 / 287.1 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.616e-05/0.02145, allocations: 31.91 kB / 287.2 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001922/0.02164, allocations: 71.64 kB / 287.3 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.02165, allocations: 4 kB / 287.3 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.0228, allocations: 1.893 MB / 289.1 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.0228, allocations: 3.938 kB / 289.2 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.02317, allocations: 259.6 kB / 289.4 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.0232, allocations: 31.88 kB / 289.4 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.02322, allocations: 3.984 kB / 289.4 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.893e-05/0.02331, allocations: 23.98 kB / 289.5 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.392e-05/0.02339, allocations: 19.97 kB / 289.5 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.0234, allocations: 3.984 kB / 289.5 MB, free: 200 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001446/0.02354, allocations: 221.1 kB / 289.7 MB, free: 15.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02354, allocations: 0 / 289.7 MB, free: 15.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002405/0.02378, allocations: 83.83 kB / 289.8 MB, free: 15.89 MB / 282.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 0.0001319/0.02391, allocations: 111.2 kB / 289.9 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004398/0.02435, allocations: 392.5 kB / 290.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.02436, allocations: 4 kB / 290.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.02452, allocations: 237.4 kB / 290.5 MB, free: 15.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.02475, allocations: 64.12 kB / 290.6 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000978/0.02573, allocations: 0.5142 MB / 291.1 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.793e-05/0.02579, allocations: 92.19 kB / 291.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.088e-05/0.02586, allocations: 30.27 kB / 291.2 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.695e-05/0.02592, allocations: 24.5 kB / 291.2 MB, free: 14.34 MB / 282.7 MB Notification: Performance of SimCode: time 1.623e-06/0.02592, allocations: 0 / 291.2 MB, free: 14.34 MB / 282.7 MB Notification: Performance of Templates: time 0.007374/0.03329, allocations: 4.479 MB / 295.7 MB, free: 9.922 MB / 282.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3547585369087756]