Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 109.4 kB / 18.4 MB, free: 4.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 185.2 kB / 19.33 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001388, allocations: 52.41 kB / 329.2 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1136, allocations: 46.61 MB / 375.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005182/0.1188, allocations: 2.817 MB / 378.7 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.1208, allocations: 0.7524 MB / 379.4 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003755/0.1212, allocations: 7.938 kB / 379.4 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.1215, allocations: 43.56 kB / 379.5 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004884/0.122, allocations: 95.19 kB / 379.6 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005383/0.1225, allocations: 111.7 kB / 379.7 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007446/0.1233, allocations: 382.3 kB / 380 MB, free: 332 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002983/0.1236, allocations: 100.9 kB / 380.1 MB, free: 232 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004125/0.124, allocations: 155.3 kB / 380.3 MB, free: 76 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2717/0.3958, allocations: 157.1 kB / 380.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.396, allocations: 31.03 kB / 380.5 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.3962, allocations: 32.19 kB / 380.5 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.3963, allocations: 65.88 kB / 380.6 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002722/0.3966, allocations: 162 kB / 380.7 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006696/0.3973, allocations: 353.4 kB / 381.1 MB, free: 9.973 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.242e-05/0.3973, allocations: 1.25 kB / 381.1 MB, free: 9.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.749e-06/0.3973, allocations: 0 / 381.1 MB, free: 9.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.3973, allocations: 4.109 kB / 381.1 MB, free: 9.973 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001523/0.3989, allocations: 0.664 MB / 381.7 MB, free: 9.496 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.3989, allocations: 10.19 kB / 381.8 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.005e-05/0.399, allocations: 33.06 kB / 381.8 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.3995, allocations: 288.2 kB / 382.1 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.3995, allocations: 16.31 kB / 382.1 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.364e-05/0.3996, allocations: 23.5 kB / 382.1 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006547/0.4002, allocations: 267.5 kB / 382.4 MB, free: 9.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.4003, allocations: 3.938 kB / 382.4 MB, free: 9.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.4003, allocations: 9.75 kB / 382.4 MB, free: 9.211 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.4003, allocations: 8.125 kB / 382.4 MB, free: 9.211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008175/0.4011, allocations: 266.8 kB / 382.6 MB, free: 9.207 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.4029, allocations: 0.9002 MB / 383.5 MB, free: 8.805 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008223/0.4037, allocations: 243.4 kB / 383.8 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.4041, allocations: 105.5 kB / 383.9 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.4041, allocations: 14.16 kB / 383.9 MB, free: 8.762 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004608/0.4046, allocations: 179.9 kB / 384.1 MB, free: 8.688 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.4046, allocations: 0 / 384.1 MB, free: 8.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.002209/0.4068, allocations: 0.6172 MB / 384.7 MB, free: 8.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.4069, allocations: 110 kB / 384.8 MB, free: 8.398 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.4072, allocations: 263.2 kB / 385.1 MB, free: 8.297 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.4073, allocations: 31.7 kB / 385.1 MB, free: 8.266 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.4074, allocations: 182 kB / 385.3 MB, free: 8.145 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.4074, allocations: 57.86 kB / 385.3 MB, free: 8.109 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.883e-05/0.4075, allocations: 43.97 kB / 385.4 MB, free: 8.094 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.657e-05/0.4076, allocations: 334.9 kB / 385.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.4079, allocations: 101.9 kB / 385.8 MB, free: 7.773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/0.4083, allocations: 173.2 kB / 386 MB, free: 7.691 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006068/0.4089, allocations: 266.3 kB / 386.2 MB, free: 7.594 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4089, allocations: 4 kB / 386.2 MB, free: 7.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001153/0.4101, allocations: 430 kB / 386.6 MB, free: 7.492 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/0.4101, allocations: 35.12 kB / 386.7 MB, free: 7.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.4102, allocations: 1.75 kB / 386.7 MB, free: 7.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005007/0.4107, allocations: 112.1 kB / 386.8 MB, free: 7.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.4109, allocations: 45.02 kB / 386.8 MB, free: 7.449 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.413, allocations: 1.891 MB / 388.7 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.4133, allocations: 51.75 kB / 388.8 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.4134, allocations: 11.28 kB / 388.8 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003574/0.4137, allocations: 186.5 kB / 389 MB, free: 5.672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003364/0.4141, allocations: 147.3 kB / 389.1 MB, free: 5.574 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005293/0.4146, allocations: 247.5 kB / 389.4 MB, free: 5.426 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/0.4146, allocations: 1.5 kB / 389.4 MB, free: 5.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0008037/0.4154, allocations: 349 kB / 389.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.4155, allocations: 41.17 kB / 389.7 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4155, allocations: 5.625 kB / 389.7 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001217/0.4156, allocations: 42.27 kB / 389.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.4159, allocations: 42.23 kB / 389.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.4171, allocations: 1.72 MB / 391.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003283/0.4174, allocations: 43.59 kB / 391.6 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.4174, allocations: 11 kB / 391.6 MB, free: 3.566 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (21): * Single equations (assignments): 19 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.4176, allocations: 200.5 kB / 391.8 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.4176, allocations: 23.7 kB / 391.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.019e-05/0.4177, allocations: 26.81 kB / 391.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4177, allocations: 2.781 kB / 391.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4177, allocations: 0 / 391.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.4177, allocations: 10.45 kB / 391.9 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.4182, allocations: 314.6 kB / 392.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4182, allocations: 0 / 392.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.4184, allocations: 28.58 kB / 392.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002294/0.4186, allocations: 68.92 kB / 392.3 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.4186, allocations: 2.453 kB / 392.3 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/0.4204, allocations: 1.711 MB / 394 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.4204, allocations: 1.75 kB / 394 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.4215, allocations: 443.4 kB / 394.4 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.4216, allocations: 104.4 kB / 394.5 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.4216, allocations: 3.672 kB / 394.5 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.4219, allocations: 29.83 kB / 394.5 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.422, allocations: 20.19 kB / 394.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.422, allocations: 13.36 kB / 394.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.4222, allocations: 192.8 kB / 394.8 MB, free: 1.145 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4222, allocations: 0 / 394.8 MB, free: 1.145 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006324/0.4229, allocations: 137.5 kB / 394.9 MB, free: 1.117 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001449/0.423, allocations: 104.4 kB / 395 MB, free: 1.023 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.4244, allocations: 0.7151 MB / 395.7 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4244, allocations: 1.375 kB / 395.7 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000454/0.4249, allocations: 243.6 kB / 396 MB, free: 420 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.4253, allocations: 52.31 kB / 396 MB, free: 404 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.4266, allocations: 0.5635 MB / 396.6 MB, free: 36 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.4271, allocations: 0.7604 MB / 397.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.148e-05/0.4272, allocations: 21.41 kB / 397.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4272, allocations: 0 / 397.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of Templates: time 0.0131/0.4403, allocations: 4.567 MB / 401.9 MB, free: 14.32 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches