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.001238/0.001238, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001248/0.001248, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.28 kB / 306.9 MB, free: 1.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08694/0.08816, allocations: 50.55 MB / 357.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004406/0.09261, allocations: 3.124 MB / 360.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.09419, allocations: 0.8066 MB / 361.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002959/0.09451, allocations: 7.938 kB / 361.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.09481, allocations: 43.69 kB / 361.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.09513, allocations: 91.3 kB / 361.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.09549, allocations: 103.9 kB / 361.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004999/0.09601, allocations: 442.1 kB / 362.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002529/0.09627, allocations: 127.5 kB / 362.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003552/0.09663, allocations: 155.4 kB / 362.3 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000273/0.09692, allocations: 167.2 kB / 362.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.896e-05/0.09699, allocations: 24 kB / 362.5 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.117e-05/0.09707, allocations: 27.94 kB / 362.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.76e-05/0.09714, allocations: 67.73 kB / 362.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.09734, allocations: 175.1 kB / 362.8 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.09767, allocations: 395.3 kB / 363.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.09769, allocations: 0 / 363.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.0977, allocations: 4 kB / 363.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.09772, allocations: 3.938 kB / 363.2 MB, free: 8.727 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.09922, allocations: 0.7131 MB / 363.9 MB, free: 7.961 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.09927, allocations: 8.031 kB / 363.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.09938, allocations: 36.56 kB / 363.9 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.09976, allocations: 306.7 kB / 364.2 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.0998, allocations: 20.94 kB / 364.3 MB, free: 7.551 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.07e-05/0.09985, allocations: 28.38 kB / 364.3 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007606/0.1006, allocations: 355.5 kB / 364.6 MB, free: 7.168 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1006, allocations: 4 kB / 364.6 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.1007, allocations: 12 kB / 364.6 MB, free: 7.152 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.1007, allocations: 8 kB / 364.7 MB, free: 7.145 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008242/0.1015, allocations: 302 kB / 364.9 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.1037, allocations: 1.282 MB / 366.2 MB, free: 5.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006749/0.1044, allocations: 226.4 kB / 366.5 MB, free: 5.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/0.1048, allocations: 128.7 kB / 366.6 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.1048, allocations: 0 / 366.6 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005141/0.1053, allocations: 189.8 kB / 366.8 MB, free: 4.914 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.1053, allocations: 3.938 kB / 366.8 MB, free: 4.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.00235/0.1077, allocations: 0.6883 MB / 367.5 MB, free: 4.195 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.1078, allocations: 106.8 kB / 367.6 MB, free: 4.066 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.1081, allocations: 294.9 kB / 367.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.1081, allocations: 29.7 kB / 367.9 MB, free: 3.734 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.1083, allocations: 211.5 kB / 368.1 MB, free: 3.523 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.1083, allocations: 51.3 kB / 368.1 MB, free: 3.473 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.392e-05/0.1084, allocations: 53.7 kB / 368.2 MB, free: 3.414 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1086, allocations: 338.8 kB / 368.5 MB, free: 3.074 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.1089, allocations: 115.9 kB / 368.6 MB, free: 2.961 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004105/0.1093, allocations: 207.9 kB / 368.8 MB, free: 2.715 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007203/0.1101, allocations: 323.7 kB / 369.1 MB, free: 2.355 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1101, allocations: 4 kB / 369.2 MB, free: 2.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001274/0.1114, allocations: 490.2 kB / 369.6 MB, free: 1.859 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.1114, allocations: 41.62 kB / 369.7 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.1114, allocations: 8 kB / 369.7 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003725/0.1118, allocations: 80.81 kB / 369.8 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.1121, allocations: 55.89 kB / 369.8 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1694/0.2815, allocations: 1.789 MB / 371.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/0.282, allocations: 58.62 kB / 371.7 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.282, allocations: 13.89 kB / 371.7 MB, free: 19.32 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.0001798/0.2822, allocations: 156 kB / 371.8 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.518e-05/0.2823, allocations: 25.75 kB / 371.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.24e-05/0.2823, allocations: 29.34 kB / 371.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2824, allocations: 6.312 kB / 371.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2824, allocations: 4.812 kB / 371.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2824, allocations: 2.141 kB / 371.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003627/0.2827, allocations: 339.6 kB / 372.2 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2828, allocations: 0.9688 kB / 372.2 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.283, allocations: 35.95 kB / 372.3 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003266/0.2833, allocations: 86.67 kB / 372.3 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.2833, allocations: 5.672 kB / 372.4 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.2853, allocations: 1.675 MB / 374 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2853, allocations: 3.828 kB / 374 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.2868, allocations: 0.4944 MB / 374.5 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.2869, allocations: 107.9 kB / 374.6 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.2869, allocations: 5.906 kB / 374.6 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.2872, allocations: 33.38 kB / 374.7 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.2873, allocations: 26.27 kB / 374.7 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.2873, allocations: 4.953 kB / 374.7 MB, free: 17.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002114/0.2875, allocations: 209.4 kB / 374.9 MB, free: 17.51 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2876, allocations: 0 / 374.9 MB, free: 17.51 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004333/0.288, allocations: 88.48 kB / 375 MB, free: 17.51 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.000147/0.2881, allocations: 105.2 kB / 375.1 MB, free: 17.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.2892, allocations: 438.9 kB / 375.5 MB, free: 17.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2892, allocations: 1.031 kB / 375.5 MB, free: 17.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005319/0.2898, allocations: 243.9 kB / 375.8 MB, free: 17.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.2902, allocations: 52 kB / 375.8 MB, free: 17.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.2914, allocations: 0.7222 MB / 376.5 MB, free: 16.69 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.2917, allocations: 0.7648 MB / 377.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.834e-05/0.2918, allocations: 21.75 kB / 377.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2918, allocations: 1.375 kB / 377.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of Templates: time 0.008556/0.3003, allocations: 5.176 MB / 382.5 MB, free: 15.36 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