Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001338/0.001338, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 205.8 kB / 18.13 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.438/1.438, allocations: 227.7 MB / 246.6 MB, free: 10.62 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 59.88 kB / 306.6 MB, free: 0.9141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.118, allocations: 50.53 MB / 357.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005022/0.123, allocations: 3.135 MB / 360.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.1252, allocations: 0.8027 MB / 361 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.1254, allocations: 4 kB / 361.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.1257, allocations: 39.69 kB / 361.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.1261, allocations: 99.3 kB / 361.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004655/0.1265, allocations: 115.8 kB / 361.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006441/0.1272, allocations: 422.3 kB / 361.7 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003547/0.1276, allocations: 123.5 kB / 361.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004228/0.128, allocations: 159.3 kB / 362 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.1283, allocations: 171.2 kB / 362.2 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.477e-05/0.1284, allocations: 24 kB / 362.2 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.654e-05/0.1285, allocations: 28 kB / 362.2 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.1286, allocations: 67.69 kB / 362.3 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002977/0.129, allocations: 183 kB / 362.5 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007036/0.1297, allocations: 474.7 kB / 362.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1297, allocations: 0 / 362.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1297, allocations: 0 / 362.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.1297, allocations: 0 / 362.9 MB, free: 8.512 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.002188/0.1319, allocations: 0.7109 MB / 363.6 MB, free: 7.746 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.132, allocations: 12.02 kB / 363.6 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.1321, allocations: 36.56 kB / 363.7 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006075/0.1328, allocations: 302.6 kB / 364 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.1328, allocations: 28.92 kB / 364 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.658e-05/0.1329, allocations: 28.38 kB / 364 MB, free: 7.301 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.1341, allocations: 347.6 kB / 364.4 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.1342, allocations: 0 / 364.4 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/0.1342, allocations: 12 kB / 364.4 MB, free: 6.941 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.1342, allocations: 12 kB / 364.4 MB, free: 6.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.1355, allocations: 302 kB / 364.7 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003325/0.1389, allocations: 1.282 MB / 366 MB, free: 5.266 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000995/0.1399, allocations: 230.4 kB / 366.2 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005031/0.1404, allocations: 112.8 kB / 366.3 MB, free: 4.918 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.1405, allocations: 4 kB / 366.3 MB, free: 4.914 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008302/0.1413, allocations: 201.7 kB / 366.5 MB, free: 4.695 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.104e-06/0.1413, allocations: 0 / 366.5 MB, free: 4.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.003537/0.1449, allocations: 0.6846 MB / 367.2 MB, free: 3.984 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.145, allocations: 102.8 kB / 367.3 MB, free: 3.859 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006143/0.1456, allocations: 298.9 kB / 367.6 MB, free: 3.559 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.1457, allocations: 33.7 kB / 367.6 MB, free: 3.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/0.1459, allocations: 215.5 kB / 367.8 MB, free: 3.305 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.751e-05/0.146, allocations: 51.3 kB / 367.9 MB, free: 3.254 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.1462, allocations: 49.69 kB / 367.9 MB, free: 3.199 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002742/0.1465, allocations: 342.8 kB / 368.3 MB, free: 2.855 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006026/0.1471, allocations: 111.9 kB / 368.4 MB, free: 2.746 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006769/0.1478, allocations: 215.9 kB / 368.6 MB, free: 2.492 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.149, allocations: 322.9 kB / 368.9 MB, free: 2.137 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.149, allocations: 4 kB / 368.9 MB, free: 2.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0022/0.1512, allocations: 495.5 kB / 369.4 MB, free: 1.633 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.05e-05/0.1513, allocations: 41.64 kB / 369.4 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.1513, allocations: 0 / 369.4 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006331/0.152, allocations: 84.86 kB / 369.5 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.1525, allocations: 59.89 kB / 369.6 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.208/0.3605, allocations: 1.789 MB / 371.3 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/0.361, allocations: 62.06 kB / 371.4 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.361, allocations: 13.55 kB / 371.4 MB, free: 16.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.0001694/0.3612, allocations: 148.5 kB / 371.6 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-05/0.3612, allocations: 23.59 kB / 371.6 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.6e-05/0.3613, allocations: 33.89 kB / 371.6 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3613, allocations: 5.75 kB / 371.6 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.3613, allocations: 1.844 kB / 371.6 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3613, allocations: 1.703 kB / 371.6 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.3617, allocations: 342.8 kB / 372 MB, free: 16.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3617, allocations: 0 / 372 MB, free: 16.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.3619, allocations: 33.48 kB / 372 MB, free: 16.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003021/0.3622, allocations: 88.19 kB / 372.1 MB, free: 16.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.3622, allocations: 2.172 kB / 372.1 MB, free: 16.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.3642, allocations: 1.682 MB / 373.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3642, allocations: 1.281 kB / 373.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.3657, allocations: 0.4892 MB / 374.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.676e-05/0.3657, allocations: 107.1 kB / 374.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.3658, allocations: 6.984 kB / 374.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.3661, allocations: 35.73 kB / 374.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.607e-05/0.3662, allocations: 20.03 kB / 374.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.3662, allocations: 4.047 kB / 374.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002162/0.3664, allocations: 209.8 kB / 374.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3664, allocations: 0 / 374.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004252/0.3668, allocations: 88.73 kB / 374.7 MB, free: 14.89 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.0001321/0.367, allocations: 111.9 kB / 374.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.368, allocations: 443.8 kB / 375.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.368, allocations: 4.156 kB / 375.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005054/0.3685, allocations: 231.8 kB / 375.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.3689, allocations: 52.16 kB / 375.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.3701, allocations: 0.701 MB / 376.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.3703, allocations: 0.7652 MB / 377 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.3705, allocations: 32.33 kB / 377 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.519e-05/0.3706, allocations: 21.84 kB / 377.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of SimCode: time 1.223e-06/0.3706, allocations: 0 / 377.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of Templates: time 0.009599/0.3802, allocations: 4.067 MB / 381.1 MB, free: 13.18 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches