Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001056/0.00106, allocations: 119.8 kB / 18.41 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001144, allocations: 203.5 kB / 19.36 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001119, allocations: 64.84 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09346/0.0946, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.00407/0.0987, allocations: 3.086 MB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.09999, allocations: 0.8143 MB / 362.8 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.1002, allocations: 4 kB / 362.8 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.1003, allocations: 59.42 kB / 362.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.1005, allocations: 107.1 kB / 363 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.1008, allocations: 123.8 kB / 363.1 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004181/0.1013, allocations: 454.3 kB / 363.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.1015, allocations: 146.8 kB / 363.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.1018, allocations: 179.4 kB / 363.9 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.102, allocations: 191.1 kB / 364.1 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.33e-05/0.1021, allocations: 44 kB / 364.1 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.464e-05/0.1022, allocations: 44 kB / 364.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.54e-05/0.1022, allocations: 87.69 kB / 364.2 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.1024, allocations: 199 kB / 364.4 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004308/0.1028, allocations: 498.3 kB / 364.9 MB, free: 7.289 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1029, allocations: 8 kB / 364.9 MB, free: 7.281 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1029, allocations: 0 / 364.9 MB, free: 7.281 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.1029, allocations: 0 / 364.9 MB, free: 7.281 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.00126/0.1041, allocations: 0.7032 MB / 365.6 MB, free: 6.523 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.1042, allocations: 12.03 kB / 365.6 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.291e-05/0.1043, allocations: 32.56 kB / 365.7 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.1047, allocations: 314.6 kB / 366 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.1047, allocations: 20.94 kB / 366 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.1048, allocations: 28.36 kB / 366 MB, free: 6.078 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006981/0.1055, allocations: 363.4 kB / 366.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1055, allocations: 0 / 366.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.1055, allocations: 8 kB / 366.4 MB, free: 5.703 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1055, allocations: 8 kB / 366.4 MB, free: 5.695 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007781/0.1063, allocations: 306 kB / 366.7 MB, free: 5.398 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.1084, allocations: 1.271 MB / 368 MB, free: 4.039 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000632/0.109, allocations: 234.3 kB / 368.2 MB, free: 3.801 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003144/0.1094, allocations: 112.8 kB / 368.3 MB, free: 3.688 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.1094, allocations: 0 / 368.3 MB, free: 3.688 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004463/0.1098, allocations: 189.8 kB / 368.5 MB, free: 3.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.1099, allocations: 0 / 368.5 MB, free: 3.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002245/0.1121, allocations: 0.6933 MB / 369.2 MB, free: 2.762 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.1122, allocations: 106.8 kB / 369.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.1125, allocations: 298.9 kB / 369.6 MB, free: 2.328 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.1125, allocations: 25.7 kB / 369.6 MB, free: 2.297 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.1127, allocations: 215.5 kB / 369.8 MB, free: 2.082 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.592e-05/0.1127, allocations: 55.3 kB / 369.9 MB, free: 2.027 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-05/0.1128, allocations: 49.7 kB / 369.9 MB, free: 1.973 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1129, allocations: 338.8 kB / 370.2 MB, free: 1.633 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.1133, allocations: 111.9 kB / 370.4 MB, free: 1.523 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/0.1137, allocations: 207.9 kB / 370.6 MB, free: 1.277 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006751/0.1143, allocations: 326.1 kB / 370.9 MB, free: 0.918 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1144, allocations: 4 kB / 370.9 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001199/0.1156, allocations: 491.6 kB / 371.4 MB, free: 428 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/0.1156, allocations: 39.83 kB / 371.4 MB, free: 384 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1156, allocations: 0 / 371.4 MB, free: 384 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000357/0.116, allocations: 92.73 kB / 371.5 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.1162, allocations: 48.03 kB / 371.5 MB, free: 240 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1702/0.2865, allocations: 1.994 MB / 373.5 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/0.2869, allocations: 56.77 kB / 373.6 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.287, allocations: 13.33 kB / 373.6 MB, free: 18.71 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.0001652/0.2872, allocations: 157.4 kB / 373.8 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.2872, allocations: 26.11 kB / 373.8 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.326e-05/0.2873, allocations: 28.17 kB / 373.8 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2873, allocations: 6.438 kB / 373.8 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.2873, allocations: 0.5 kB / 373.8 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2873, allocations: 1.953 kB / 373.8 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.2876, allocations: 350.8 kB / 374.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2876, allocations: 1.688 kB / 374.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.2878, allocations: 31.66 kB / 374.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002995/0.2881, allocations: 80.45 kB / 374.3 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.2882, allocations: 7.219 kB / 374.3 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/0.2902, allocations: 1.817 MB / 376.1 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2902, allocations: 1.422 kB / 376.1 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.2916, allocations: 0.489 MB / 376.6 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/0.2917, allocations: 105.2 kB / 376.7 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.2917, allocations: 10.2 kB / 376.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.292, allocations: 35.3 kB / 376.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.571e-05/0.2921, allocations: 18.62 kB / 376.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.2921, allocations: 2.938 kB / 376.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002254/0.2923, allocations: 212.8 kB / 377 MB, free: 16.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2923, allocations: 0 / 377 MB, free: 16.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004648/0.2928, allocations: 90.27 kB / 377 MB, free: 16.7 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.0001302/0.2929, allocations: 107.5 kB / 377.2 MB, free: 16.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009316/0.2939, allocations: 439.2 kB / 377.6 MB, free: 16.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2939, allocations: 0 / 377.6 MB, free: 16.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004442/0.2943, allocations: 252.2 kB / 377.8 MB, free: 16.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.2947, allocations: 56.56 kB / 377.9 MB, free: 16.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.2958, allocations: 0.5776 MB / 378.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.296, allocations: 0.7672 MB / 379.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.2961, allocations: 27.69 kB / 379.3 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.949e-05/0.2962, allocations: 20.98 kB / 379.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2962, allocations: 5.375 kB / 379.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of Templates: time 0.00979/0.306, allocations: 4.431 MB / 383.7 MB, free: 14.89 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches