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.001596/0.001596, allocations: 114 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00191/0.00191, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.4 MB / 246.4 MB, free: 10.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.95 kB / 306.5 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1075, allocations: 50.54 MB / 357 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005161/0.1127, allocations: 3.124 MB / 360.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.1144, allocations: 0.8027 MB / 360.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003201/0.1148, allocations: 7.938 kB / 360.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.1151, allocations: 39.69 kB / 361 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.1154, allocations: 99.3 kB / 361.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.1159, allocations: 107.9 kB / 361.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006645/0.1165, allocations: 462.2 kB / 361.6 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002897/0.1168, allocations: 142.8 kB / 361.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004446/0.1173, allocations: 175.4 kB / 361.9 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.1176, allocations: 195.1 kB / 362.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.517e-05/0.1177, allocations: 44 kB / 362.2 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.968e-05/0.1178, allocations: 44 kB / 362.2 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.126e-05/0.1179, allocations: 83.69 kB / 362.3 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.1181, allocations: 199.1 kB / 362.5 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005297/0.1187, allocations: 490.7 kB / 363 MB, free: 8.402 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1187, allocations: 3.938 kB / 363 MB, free: 8.398 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1187, allocations: 0 / 363 MB, free: 8.398 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.1187, allocations: 0 / 363 MB, free: 8.398 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.001497/0.1202, allocations: 0.7148 MB / 363.7 MB, free: 7.629 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1203, allocations: 12.03 kB / 363.7 MB, free: 7.617 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.635e-05/0.1204, allocations: 36.56 kB / 363.7 MB, free: 7.582 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.1208, allocations: 310.6 kB / 364 MB, free: 7.234 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.1208, allocations: 16.94 kB / 364 MB, free: 7.215 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.1209, allocations: 28.38 kB / 364.1 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007903/0.1216, allocations: 359.5 kB / 364.4 MB, free: 6.828 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1217, allocations: 0 / 364.4 MB, free: 6.828 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.1217, allocations: 8 kB / 364.4 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.1217, allocations: 8 kB / 364.4 MB, free: 6.812 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008255/0.1226, allocations: 302 kB / 364.7 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002314/0.1249, allocations: 1.278 MB / 366 MB, free: 5.152 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007344/0.1256, allocations: 230.4 kB / 366.2 MB, free: 4.918 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.126, allocations: 120.8 kB / 366.4 MB, free: 4.797 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.126, allocations: 0 / 366.4 MB, free: 4.797 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006022/0.1266, allocations: 198 kB / 366.6 MB, free: 4.582 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.1266, allocations: 0 / 366.6 MB, free: 4.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002339/0.129, allocations: 0.6809 MB / 367.2 MB, free: 3.875 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.588e-05/0.1291, allocations: 110.8 kB / 367.3 MB, free: 3.742 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.1294, allocations: 298.9 kB / 367.6 MB, free: 3.438 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.1295, allocations: 25.7 kB / 367.7 MB, free: 3.406 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.1296, allocations: 211.5 kB / 367.9 MB, free: 3.195 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.1297, allocations: 51.3 kB / 367.9 MB, free: 3.145 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.1298, allocations: 53.69 kB / 368 MB, free: 3.086 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1299, allocations: 338.8 kB / 368.3 MB, free: 2.746 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.1303, allocations: 111.9 kB / 368.4 MB, free: 2.637 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004085/0.1307, allocations: 219.9 kB / 368.6 MB, free: 2.379 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007288/0.1315, allocations: 323.7 kB / 368.9 MB, free: 2.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.373e-06/0.1315, allocations: 4 kB / 368.9 MB, free: 2.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00136/0.1329, allocations: 489.8 kB / 369.4 MB, free: 1.523 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.247e-05/0.1329, allocations: 41.64 kB / 369.5 MB, free: 1.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.1329, allocations: 0 / 369.5 MB, free: 1.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004213/0.1334, allocations: 92.8 kB / 369.6 MB, free: 1.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.1337, allocations: 51.95 kB / 369.6 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1535/0.2872, allocations: 1.995 MB / 371.6 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/0.2876, allocations: 55.69 kB / 371.7 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.2877, allocations: 14.12 kB / 371.7 MB, free: 19.07 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.0001885/0.2879, allocations: 150.2 kB / 371.8 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.99e-05/0.288, allocations: 28.38 kB / 371.8 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.082e-05/0.288, allocations: 32.41 kB / 371.9 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.288, allocations: 2.906 kB / 371.9 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.288, allocations: 0.9688 kB / 371.9 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.288, allocations: 3.016 kB / 371.9 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.2884, allocations: 348.2 kB / 372.2 MB, free: 18.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2884, allocations: 0 / 372.2 MB, free: 18.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.2886, allocations: 32.95 kB / 372.3 MB, free: 18.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003099/0.2889, allocations: 88.38 kB / 372.3 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.289, allocations: 2.078 kB / 372.3 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.2911, allocations: 1.808 MB / 374.1 MB, free: 17.42 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2911, allocations: 3.938 kB / 374.2 MB, free: 17.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.2926, allocations: 499.8 kB / 374.6 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.839e-05/0.2927, allocations: 101.7 kB / 374.7 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.2928, allocations: 9.094 kB / 374.7 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.293, allocations: 34.64 kB / 374.8 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-05/0.2931, allocations: 21.92 kB / 374.8 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.2931, allocations: 4.172 kB / 374.8 MB, free: 17.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002078/0.2934, allocations: 211.5 kB / 375 MB, free: 17.17 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2934, allocations: 1.156 kB / 375 MB, free: 17.17 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004321/0.2938, allocations: 84.86 kB / 375.1 MB, free: 17.16 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.0001261/0.2939, allocations: 102.5 kB / 375.2 MB, free: 17.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.295, allocations: 458.4 kB / 375.6 MB, free: 16.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.295, allocations: 1.156 kB / 375.6 MB, free: 16.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004783/0.2955, allocations: 241 kB / 375.9 MB, free: 16.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.2959, allocations: 57.12 kB / 375.9 MB, free: 16.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.2971, allocations: 0.6965 MB / 376.6 MB, free: 16.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.2973, allocations: 0.7647 MB / 377.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001494/0.2975, allocations: 30.78 kB / 377.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.346e-05/0.2976, allocations: 20.42 kB / 377.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2976, allocations: 4 kB / 377.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of Templates: time 0.01081/0.3084, allocations: 4.295 MB / 381.7 MB, free: 15.28 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins/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