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.0009828/0.000983, allocations: 90.98 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 201.9 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.7 MB / 247.5 MB, free: 11.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002311/0.000231, allocations: 11.98 kB / 308.4 MB, free: 0.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08553/0.08578, allocations: 51.52 MB / 359.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.002969/0.08878, allocations: 2.762 MB / 362.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.09015, allocations: 0.7794 MB / 363.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.09036, allocations: 11.94 kB / 363.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.09051, allocations: 43.67 kB / 363.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.09075, allocations: 99.3 kB / 363.6 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.09104, allocations: 111.8 kB / 363.7 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000419/0.09147, allocations: 422.3 kB / 364.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.0917, allocations: 119.5 kB / 364.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.09197, allocations: 155.2 kB / 364.4 MB, free: 8.758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.0922, allocations: 167.2 kB / 364.6 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/0.09225, allocations: 20 kB / 364.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.746e-05/0.0923, allocations: 20 kB / 364.6 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.09237, allocations: 59.7 kB / 364.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.09253, allocations: 188.8 kB / 364.9 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.09285, allocations: 387.1 kB / 365.2 MB, free: 7.926 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.09286, allocations: 7.938 kB / 365.2 MB, free: 7.918 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.09287, allocations: 0 / 365.2 MB, free: 7.918 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.09289, allocations: 0 / 365.2 MB, free: 7.918 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.001167/0.09406, allocations: 0.6682 MB / 365.9 MB, free: 7.195 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.0941, allocations: 8.031 kB / 365.9 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.506e-05/0.09419, allocations: 40.56 kB / 366 MB, free: 7.148 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.09454, allocations: 310.7 kB / 366.3 MB, free: 6.801 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.09457, allocations: 20.88 kB / 366.3 MB, free: 6.777 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.09463, allocations: 28.38 kB / 366.3 MB, free: 6.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007558/0.09539, allocations: 363.6 kB / 366.7 MB, free: 6.387 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.09541, allocations: 0 / 366.7 MB, free: 6.387 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/0.09545, allocations: 15.98 kB / 366.7 MB, free: 6.371 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.09547, allocations: 11.98 kB / 366.7 MB, free: 6.359 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008537/0.09632, allocations: 334 kB / 367 MB, free: 6.031 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/0.09843, allocations: 1.317 MB / 368.3 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007232/0.09917, allocations: 262.4 kB / 368.6 MB, free: 4.359 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003587/0.09954, allocations: 125 kB / 368.7 MB, free: 4.234 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.09958, allocations: 12 kB / 368.7 MB, free: 4.223 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004923/0.1001, allocations: 209.7 kB / 368.9 MB, free: 3.996 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.1001, allocations: 0 / 368.9 MB, free: 3.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002417/0.1025, allocations: 0.7671 MB / 369.7 MB, free: 3.203 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.1026, allocations: 110.8 kB / 369.8 MB, free: 3.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.1029, allocations: 294.9 kB / 370.1 MB, free: 2.773 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.1029, allocations: 25.7 kB / 370.1 MB, free: 2.742 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.103, allocations: 211.5 kB / 370.3 MB, free: 2.531 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.592e-05/0.1031, allocations: 47.3 kB / 370.4 MB, free: 2.484 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.1032, allocations: 29.7 kB / 370.4 MB, free: 2.449 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1033, allocations: 342.8 kB / 370.7 MB, free: 2.105 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.1037, allocations: 123.9 kB / 370.9 MB, free: 1.984 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/0.1041, allocations: 227.9 kB / 371.1 MB, free: 1.719 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007693/0.1049, allocations: 362 kB / 371.4 MB, free: 1.324 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1049, allocations: 0 / 371.4 MB, free: 1.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001305/0.1062, allocations: 0.5217 MB / 371.9 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/0.1062, allocations: 37.64 kB / 372 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1063, allocations: 4 kB / 372 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/0.1066, allocations: 96.78 kB / 372.1 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.1069, allocations: 59.91 kB / 372.1 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1631/0.2699, allocations: 1.826 MB / 374 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.2704, allocations: 67.75 kB / 374 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.2704, allocations: 13.06 kB / 374 MB, free: 18.03 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.0001862/0.2706, allocations: 159.8 kB / 374.2 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.2707, allocations: 28.17 kB / 374.2 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.002e-05/0.2708, allocations: 29.34 kB / 374.3 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2708, allocations: 2.141 kB / 374.3 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.2708, allocations: 0 / 374.3 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2708, allocations: 0.6094 kB / 374.3 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003693/0.2712, allocations: 346.9 kB / 374.6 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.2712, allocations: 2.094 kB / 374.6 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.2714, allocations: 40.3 kB / 374.6 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003101/0.2717, allocations: 86.16 kB / 374.7 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.2718, allocations: 2.391 kB / 374.7 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.2738, allocations: 1.712 MB / 376.4 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2738, allocations: 0.8438 kB / 376.4 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.2754, allocations: 0.5447 MB / 377 MB, free: 16.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.862e-05/0.2755, allocations: 115.3 kB / 377.1 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.2756, allocations: 4.75 kB / 377.1 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.2759, allocations: 44.94 kB / 377.1 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/0.276, allocations: 18.92 kB / 377.2 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.276, allocations: 5.469 kB / 377.2 MB, free: 16.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002868/0.2763, allocations: 208.3 kB / 377.4 MB, free: 16.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2763, allocations: 0.5312 kB / 377.4 MB, free: 16.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004387/0.2767, allocations: 84.86 kB / 377.5 MB, free: 16.2 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.000126/0.2769, allocations: 103.6 kB / 377.6 MB, free: 16.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.2779, allocations: 482.5 kB / 378 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2779, allocations: 0.625 kB / 378 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004938/0.2784, allocations: 251.5 kB / 378.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.2788, allocations: 56.19 kB / 378.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.28, allocations: 0.7665 MB / 379.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.2803, allocations: 0.765 MB / 379.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.578e-05/0.2803, allocations: 22.08 kB / 379.9 MB, free: 14.63 MB / 302.1 MB Notification: Performance of SimCode: time 1.002e-06/0.2804, allocations: 0 / 379.9 MB, free: 14.63 MB / 302.1 MB Notification: Performance of Templates: time 0.008805/0.2892, allocations: 5.138 MB / 385 MB, free: 13.93 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/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