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.001228/0.001228, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001315/0.001315, allocations: 161.5 kB / 25.61 MB, free: 8.582 MB / 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 0.9782/0.9782, allocations: 177.1 MB / 206 MB, free: 4.516 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 2.084e-06/2.084e-06, allocations: 0 / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.929e-05, allocations: 2.312 kB / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003038/0.003058, allocations: 3.049 MB / 277.3 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009785/0.004036, allocations: 0.784 MB / 278.1 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.004163, allocations: 7.938 kB / 278.1 MB, free: 0.543 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.004294, allocations: 51.5 kB / 278.1 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.004449, allocations: 131.5 kB / 278.3 MB, free: 372 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.004681, allocations: 131.7 kB / 278.4 MB, free: 240 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003451/0.005026, allocations: 470 kB / 278.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.005186, allocations: 87.5 kB / 278.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003001/0.005486, allocations: 267.5 kB / 279.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.005645, allocations: 155.5 kB / 279.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.005686, allocations: 47.94 kB / 279.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.708e-05/0.005743, allocations: 44 kB / 279.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.827e-05/0.005801, allocations: 87.69 kB / 279.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.642e-05/0.005898, allocations: 131.7 kB / 279.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.006163, allocations: 291 kB / 279.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.006165, allocations: 0 / 279.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.006166, allocations: 0 / 279.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.00617, allocations: 0 / 279.9 MB, free: 14.68 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.0008068/0.006977, allocations: 0.7198 MB / 280.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.00701, allocations: 11.98 kB / 280.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.743e-05/0.007087, allocations: 64.7 kB / 280.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.007322, allocations: 247.5 kB / 281 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.007342, allocations: 21.03 kB / 281 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.007378, allocations: 28.38 kB / 281 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.007714, allocations: 315.3 kB / 281.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.007725, allocations: 192 / 281.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.007747, allocations: 15.94 kB / 281.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.007755, allocations: 4 kB / 281.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.007875, allocations: 88.45 kB / 281.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.008967, allocations: 1.146 MB / 282.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.009106, allocations: 103 kB / 282.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.592e-05/0.009152, allocations: 47.59 kB / 282.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.009171, allocations: 4 kB / 282.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.009326, allocations: 179.4 kB / 282.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 9.51e-07/0.009327, allocations: 0 / 282.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006576/0.009985, allocations: 312.8 kB / 283.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.01003, allocations: 110.8 kB / 283.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.0102, allocations: 316.1 kB / 283.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.01022, allocations: 33.64 kB / 283.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.01037, allocations: 263 kB / 283.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.0104, allocations: 55.52 kB / 284 MB, free: 10.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.349e-05/0.01046, allocations: 59.3 kB / 284 MB, free: 10.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.01058, allocations: 0.5079 MB / 284.5 MB, free: 9.766 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.519e-05/0.01064, allocations: 49.69 kB / 284.6 MB, free: 9.711 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.01076, allocations: 248.6 kB / 284.8 MB, free: 9.391 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.0109, allocations: 213.8 kB / 285 MB, free: 9.125 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.0109, allocations: 0 / 285 MB, free: 9.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003323/0.01124, allocations: 315.5 kB / 285.3 MB, free: 8.797 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.01126, allocations: 33.7 kB / 285.4 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.01127, allocations: 4 kB / 285.4 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000228/0.0115, allocations: 87.89 kB / 285.5 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.01172, allocations: 43.98 kB / 285.5 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.01276, allocations: 2.13 MB / 287.6 MB, free: 6.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.01289, allocations: 39.83 kB / 287.7 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.0129, allocations: 12 kB / 287.7 MB, free: 6.324 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 9.487e-05/0.013, allocations: 187.2 kB / 287.9 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.01302, allocations: 27.86 kB / 287.9 MB, free: 6.105 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.01305, allocations: 25.77 kB / 287.9 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01305, allocations: 4 kB / 287.9 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.01305, allocations: 0 / 287.9 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01306, allocations: 3.984 kB / 287.9 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.01318, allocations: 189.1 kB / 288.1 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01319, allocations: 3.938 kB / 288.1 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.069e-05/0.01326, allocations: 19.98 kB / 288.1 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001569/0.01341, allocations: 75.62 kB / 288.2 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.01342, allocations: 4 kB / 288.2 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.01443, allocations: 1.854 MB / 290.1 MB, free: 3.785 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01443, allocations: 0 / 290.1 MB, free: 3.785 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.01471, allocations: 247.7 kB / 290.3 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.01474, allocations: 27.81 kB / 290.3 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.01476, allocations: 11.88 kB / 290.4 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.599e-05/0.01484, allocations: 27.95 kB / 290.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.01489, allocations: 19.97 kB / 290.4 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.0149, allocations: 3.984 kB / 290.4 MB, free: 3.426 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.443e-05/0.01498, allocations: 205 kB / 290.6 MB, free: 3.227 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01498, allocations: 4 kB / 290.6 MB, free: 3.223 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.01521, allocations: 87.83 kB / 290.7 MB, free: 3.137 MB / 266.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 9.003e-05/0.0153, allocations: 107.3 kB / 290.8 MB, free: 3.023 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003079/0.0156, allocations: 373.5 kB / 291.2 MB, free: 2.621 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.0156, allocations: 0 / 291.2 MB, free: 2.621 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.01574, allocations: 234.1 kB / 291.4 MB, free: 2.371 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.01594, allocations: 62.7 kB / 291.5 MB, free: 2.309 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007215/0.01666, allocations: 0.518 MB / 292 MB, free: 1.762 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.396e-05/0.01671, allocations: 92.3 kB / 292.1 MB, free: 1.652 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.575e-05/0.01677, allocations: 22.3 kB / 292.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.0169, allocations: 126.2 kB / 292.2 MB, free: 1.504 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0169, allocations: 0 / 292.2 MB, free: 1.504 MB / 266.7 MB Notification: Performance of Templates: time 0.006266/0.02317, allocations: 4.871 MB / 297.1 MB, free: 12.71 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: 2.82051261421293]