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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 110.9 kB / 17.68 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 192 kB / 18.62 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 56.33 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1832, allocations: 49.44 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.007243/0.1905, allocations: 3.07 MB / 354.6 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002672/0.1933, allocations: 0.7714 MB / 355.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003219/0.1936, allocations: 4 kB / 355.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.194, allocations: 55.44 kB / 355.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004362/0.1945, allocations: 111.1 kB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006463/0.1952, allocations: 135.7 kB / 355.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008681/0.196, allocations: 462.1 kB / 356.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000468/0.1965, allocations: 134.9 kB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004278/0.197, allocations: 171.3 kB / 356.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004327/0.1974, allocations: 195.2 kB / 356.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.1976, allocations: 44 kB / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1977, allocations: 44 kB / 356.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.1979, allocations: 79.75 kB / 356.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003425/0.1982, allocations: 199.1 kB / 356.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007466/0.199, allocations: 0.4905 MB / 357.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.199, allocations: 0 / 357.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.199, allocations: 3.938 kB / 357.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.756e-05/0.1991, allocations: 0 / 357.4 MB, free: 13.73 MB / 302.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.002355/0.2014, allocations: 0.7109 MB / 358.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.073e-05/0.2015, allocations: 11.89 kB / 358.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/0.2017, allocations: 36.56 kB / 358.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008452/0.2026, allocations: 306.7 kB / 358.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.2026, allocations: 24.92 kB / 358.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.158e-05/0.2027, allocations: 40.25 kB / 358.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000965/0.2037, allocations: 351.5 kB / 358.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.2037, allocations: 0 / 358.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.2038, allocations: 12 kB / 358.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.2038, allocations: 8 kB / 358.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008646/0.2047, allocations: 302 kB / 359.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002701/0.2074, allocations: 1.278 MB / 360.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006735/0.2081, allocations: 230.4 kB / 360.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.2084, allocations: 112.8 kB / 360.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.2085, allocations: 0 / 360.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005138/0.209, allocations: 196.1 kB / 361 MB, free: 9.922 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.204e-06/0.209, allocations: 0 / 361 MB, free: 9.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002673/0.2117, allocations: 0.6901 MB / 361.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.2118, allocations: 102.8 kB / 361.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004347/0.2122, allocations: 291 kB / 362.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.2123, allocations: 29.7 kB / 362.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.2125, allocations: 219.5 kB / 362.3 MB, free: 8.531 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.2126, allocations: 51.28 kB / 362.4 MB, free: 8.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.2128, allocations: 49.7 kB / 362.4 MB, free: 8.426 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.213, allocations: 342.8 kB / 362.8 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004271/0.2134, allocations: 107.9 kB / 362.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004428/0.2138, allocations: 216.6 kB / 363.1 MB, free: 7.727 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008086/0.2147, allocations: 323.7 kB / 363.4 MB, free: 7.367 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2147, allocations: 0 / 363.4 MB, free: 7.367 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001328/0.216, allocations: 494.5 kB / 363.9 MB, free: 6.871 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.118e-05/0.2161, allocations: 37.64 kB / 363.9 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.2161, allocations: 7.984 kB / 363.9 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004178/0.2165, allocations: 80.88 kB / 364 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.2168, allocations: 59.89 kB / 364.1 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00324/0.2201, allocations: 1.99 MB / 366.1 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004901/0.2206, allocations: 59.7 kB / 366.1 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.827e-05/0.2206, allocations: 16 kB / 366.1 MB, free: 4.469 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.0003173/0.221, allocations: 150 kB / 366.3 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.123e-05/0.2211, allocations: 27.66 kB / 366.3 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.2212, allocations: 29.86 kB / 366.3 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.2212, allocations: 7.875 kB / 366.3 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.2212, allocations: 0 / 366.3 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.2212, allocations: 0 / 366.3 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.2217, allocations: 353.3 kB / 366.7 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.2218, allocations: 0 / 366.7 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.222, allocations: 27.97 kB / 366.7 MB, free: 3.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003227/0.2223, allocations: 80.8 kB / 366.8 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.2223, allocations: 11.94 kB / 366.8 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002557/0.2249, allocations: 1.809 MB / 368.6 MB, free: 1.781 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.2249, allocations: 0 / 368.6 MB, free: 1.781 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.2264, allocations: 0.4926 MB / 369.1 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.2266, allocations: 100.8 kB / 369.2 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.2266, allocations: 11.88 kB / 369.2 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.2269, allocations: 36.02 kB / 369.3 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.227, allocations: 23.97 kB / 369.3 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.227, allocations: 4 kB / 369.3 MB, free: 1.078 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002481/0.2272, allocations: 206 kB / 369.5 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2273, allocations: 0 / 369.5 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004544/0.2277, allocations: 91.75 kB / 369.6 MB, free: 0.7891 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.000199/0.2279, allocations: 103.2 kB / 369.7 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.229, allocations: 442.3 kB / 370.1 MB, free: 228 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.229, allocations: 4.125 kB / 370.1 MB, free: 224 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.237/0.466, allocations: 248.1 kB / 370.3 MB, free: 25.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007259/0.4668, allocations: 50.66 kB / 370.4 MB, free: 25.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.4686, allocations: 0.5866 MB / 371 MB, free: 25.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.4689, allocations: 0.7657 MB / 371.8 MB, free: 24.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001784/0.4691, allocations: 27.72 kB / 371.8 MB, free: 24.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.656e-05/0.4692, allocations: 21.44 kB / 371.8 MB, free: 24.84 MB / 302.1 MB Notification: Performance of SimCode: time 2.033e-06/0.4692, allocations: 0 / 371.8 MB, free: 24.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01304/0.4822, allocations: 4.416 MB / 376.2 MB, free: 24.68 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (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 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches