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.001325/0.001325, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.00157/0.00157, allocations: 169.3 kB / 24.82 MB, free: 8.867 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.9822/0.9822, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.343e-06/1.343e-06, allocations: 0 / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.881e-05, allocations: 2.312 kB / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.00296/0.002978, allocations: 3.047 MB / 276.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.004195, allocations: 0.7908 MB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.004352, allocations: 11.94 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.004501, allocations: 51.5 kB / 277.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.00467, allocations: 115 kB / 277.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.004913, allocations: 135.7 kB / 277.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.005237, allocations: 473.9 kB / 278.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.005386, allocations: 87.5 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.00568, allocations: 267.5 kB / 278.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.005825, allocations: 151.6 kB / 278.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.226e-05/0.005867, allocations: 44 kB / 278.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4e-05/0.005907, allocations: 44 kB / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.005959, allocations: 91.61 kB / 278.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.885e-05/0.006048, allocations: 135.6 kB / 278.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.006295, allocations: 287 kB / 279.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.006297, allocations: 0 / 279.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006298, allocations: 0 / 279.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.006301, allocations: 0 / 279.1 MB, free: 11.54 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.0007286/0.007029, allocations: 0.7274 MB / 279.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.007059, allocations: 8.031 kB / 279.9 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.365e-05/0.007132, allocations: 64.7 kB / 279.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.007353, allocations: 255.5 kB / 280.2 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.007367, allocations: 17.03 kB / 280.2 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.007402, allocations: 32.33 kB / 280.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.007709, allocations: 307.3 kB / 280.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.007717, allocations: 192 / 280.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.007737, allocations: 19.92 kB / 280.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.007743, allocations: 4 kB / 280.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.007859, allocations: 88.45 kB / 280.6 MB, free: 9.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.0089, allocations: 1.146 MB / 281.8 MB, free: 8.707 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.009031, allocations: 99 kB / 281.9 MB, free: 8.598 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.775e-05/0.009079, allocations: 35.67 kB / 281.9 MB, free: 8.559 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.009097, allocations: 7.938 kB / 281.9 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.009246, allocations: 179.4 kB / 282.1 MB, free: 8.336 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.062e-06/0.009247, allocations: 4 kB / 282.1 MB, free: 8.332 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005904/0.009838, allocations: 316.8 kB / 282.4 MB, free: 8.012 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.009876, allocations: 102.8 kB / 282.5 MB, free: 7.887 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.01004, allocations: 312.1 kB / 282.8 MB, free: 7.566 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.01007, allocations: 33.69 kB / 282.9 MB, free: 7.527 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.01018, allocations: 259 kB / 283.1 MB, free: 7.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.01021, allocations: 59.5 kB / 283.2 MB, free: 7.211 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.01028, allocations: 63.3 kB / 283.2 MB, free: 7.141 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.0104, allocations: 0.5079 MB / 283.7 MB, free: 6.621 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.412e-05/0.01045, allocations: 53.69 kB / 283.8 MB, free: 6.562 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.01058, allocations: 260.6 kB / 284 MB, free: 6.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.01072, allocations: 205.1 kB / 284.2 MB, free: 5.977 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01073, allocations: 3.938 kB / 284.3 MB, free: 5.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003478/0.01107, allocations: 324.4 kB / 284.6 MB, free: 5.633 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.0111, allocations: 33.7 kB / 284.6 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.0111, allocations: 4 kB / 284.6 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002102/0.01131, allocations: 87.59 kB / 284.7 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.01142, allocations: 43.98 kB / 284.7 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/0.01244, allocations: 2.126 MB / 286.9 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.01257, allocations: 51.98 kB / 286.9 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.01258, allocations: 8 kB / 286.9 MB, free: 3.156 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.188e-05/0.01267, allocations: 180.2 kB / 287.1 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.0127, allocations: 31.84 kB / 287.1 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.01273, allocations: 25.78 kB / 287.2 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01273, allocations: 3.984 kB / 287.2 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01273, allocations: 4 kB / 287.2 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01274, allocations: 0 / 287.2 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.01287, allocations: 193.1 kB / 287.3 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.01287, allocations: 3.938 kB / 287.4 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.981e-05/0.01294, allocations: 23.98 kB / 287.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001611/0.0131, allocations: 75.66 kB / 287.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.01311, allocations: 4 kB / 287.5 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008129/0.01393, allocations: 1.858 MB / 289.3 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01393, allocations: 0 / 289.3 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.01421, allocations: 239.7 kB / 289.5 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.01424, allocations: 27.81 kB / 289.6 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.01426, allocations: 11.92 kB / 289.6 MB, free: 316 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-05/0.01435, allocations: 19.98 kB / 289.6 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.01441, allocations: 27.95 kB / 289.6 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.01441, allocations: 4 kB / 289.6 MB, free: 264 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.01452, allocations: 205.1 kB / 289.8 MB, free: 56 kB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01452, allocations: 0 / 289.8 MB, free: 56 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.000269/0.01479, allocations: 87.88 kB / 289.9 MB, free: 15.96 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 7.374e-05/0.01486, allocations: 103.2 kB / 290 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003093/0.01517, allocations: 381.8 kB / 290.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01517, allocations: 0 / 290.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.01532, allocations: 241.3 kB / 290.6 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.01552, allocations: 52.41 kB / 290.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007304/0.01625, allocations: 0.5286 MB / 291.2 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.382e-05/0.01629, allocations: 84.31 kB / 291.3 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.06e-05/0.01636, allocations: 30.28 kB / 291.3 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.01649, allocations: 126.2 kB / 291.4 MB, free: 14.33 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01649, allocations: 0 / 291.4 MB, free: 14.33 MB / 282.7 MB Notification: Performance of Templates: time 0.006497/0.02299, allocations: 4.765 MB / 296.2 MB, free: 9.648 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.8102168859913945]