Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_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.0.0_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.0007263/0.0007263, allocations: 93.55 kB / 17.31 MB, free: 6.535 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.0007685/0.0007685, allocations: 175.2 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 223.3 MB / 242.3 MB, free: 264 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000222/0.000222, allocations: 8 kB / 302.1 MB, free: 6.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07318/0.07341, allocations: 50.41 MB / 352.5 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.002798/0.07622, allocations: 2.74 MB / 355.2 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.07744, allocations: 0.7677 MB / 356 MB, free: 200 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.07761, allocations: 4 kB / 356 MB, free: 196 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.07774, allocations: 39.67 kB / 356.1 MB, free: 156 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.07796, allocations: 99.23 kB / 356.2 MB, free: 56 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.07826, allocations: 111.8 kB / 356.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003955/0.07867, allocations: 430.1 kB / 356.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.07888, allocations: 111.6 kB / 356.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.07909, allocations: 151.3 kB / 356.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.0793, allocations: 167.2 kB / 357.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.07935, allocations: 20 kB / 357.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.542e-05/0.0794, allocations: 20 kB / 357.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.854e-05/0.07947, allocations: 59.7 kB / 357.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.07963, allocations: 188.8 kB / 357.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.07994, allocations: 383.1 kB / 357.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.07995, allocations: 7.938 kB / 357.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.07996, allocations: 0 / 357.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.07997, allocations: 0 / 357.8 MB, free: 14.43 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.00121/0.08119, allocations: 0.6682 MB / 358.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.08123, allocations: 8.031 kB / 358.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.671e-05/0.08131, allocations: 40.56 kB / 358.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.08164, allocations: 306.7 kB / 358.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.08167, allocations: 24.88 kB / 358.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.071e-05/0.08173, allocations: 24.38 kB / 358.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007739/0.08251, allocations: 371.5 kB / 359.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.08253, allocations: 0 / 359.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.08257, allocations: 12 kB / 359.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.08258, allocations: 8 kB / 359.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009019/0.08349, allocations: 334 kB / 359.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.08566, allocations: 1.321 MB / 360.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000735/0.08641, allocations: 254.4 kB / 361.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003715/0.0868, allocations: 128.8 kB / 361.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.08683, allocations: 0 / 361.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005063/0.08734, allocations: 209.7 kB / 361.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.08735, allocations: 0 / 361.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002566/0.08992, allocations: 0.7718 MB / 362.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.08999, allocations: 110.8 kB / 362.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.09029, allocations: 290.9 kB / 362.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.09033, allocations: 33.69 kB / 362.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.09046, allocations: 203.6 kB / 362.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.09051, allocations: 55.28 kB / 362.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.09056, allocations: 25.72 kB / 362.9 MB, free: 8.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.09067, allocations: 338.7 kB / 363.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.09108, allocations: 131.9 kB / 363.4 MB, free: 8.512 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004514/0.09154, allocations: 223.9 kB / 363.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000799/0.09235, allocations: 358.5 kB / 363.9 MB, free: 7.859 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.09237, allocations: 3.938 kB / 363.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001387/0.09376, allocations: 0.5231 MB / 364.5 MB, free: 7.316 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.0938, allocations: 33.64 kB / 364.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.09382, allocations: 4 kB / 364.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003645/0.09419, allocations: 88.86 kB / 364.6 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.09446, allocations: 59.91 kB / 364.6 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002451/0.09692, allocations: 1.838 MB / 366.5 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.09731, allocations: 75.64 kB / 366.6 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.09735, allocations: 12 kB / 366.6 MB, free: 5.059 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.0001443/0.0975, allocations: 145.8 kB / 366.7 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.09754, allocations: 23.72 kB / 366.7 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.97e-05/0.0976, allocations: 29.86 kB / 366.8 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.09761, allocations: 4 kB / 366.8 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.09762, allocations: 0 / 366.8 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.09763, allocations: 7.938 kB / 366.8 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/0.09792, allocations: 341.3 kB / 367.1 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.09793, allocations: 0 / 367.1 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.09814, allocations: 35.97 kB / 367.1 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002935/0.09845, allocations: 92.73 kB / 367.2 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.09847, allocations: 128 / 367.2 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/0.1006, allocations: 1.722 MB / 369 MB, free: 2.473 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1007, allocations: 0 / 369 MB, free: 2.473 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.1022, allocations: 0.5365 MB / 369.5 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.1023, allocations: 108.7 kB / 369.6 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.1024, allocations: 4 kB / 369.6 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.1027, allocations: 51.95 kB / 369.7 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.1028, allocations: 19.97 kB / 369.7 MB, free: 1.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1028, allocations: 4 kB / 369.7 MB, free: 1.711 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001972/0.103, allocations: 206 kB / 369.9 MB, free: 1.512 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.103, allocations: 4 kB / 369.9 MB, free: 1.508 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003847/0.1034, allocations: 87.84 kB / 370 MB, free: 1.422 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 9.177e-05/0.1035, allocations: 103.7 kB / 370.1 MB, free: 1.312 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.1045, allocations: 488.2 kB / 370.5 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1045, allocations: 0 / 370.5 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000513/0.105, allocations: 263.1 kB / 370.8 MB, free: 0.543 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.1054, allocations: 52.8 kB / 370.9 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1299/0.2353, allocations: 0.7583 MB / 371.6 MB, free: 24.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.2355, allocations: 0.7659 MB / 372.4 MB, free: 23.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.2356, allocations: 21.66 kB / 372.4 MB, free: 23.88 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2356, allocations: 0 / 372.4 MB, free: 23.88 MB / 302.1 MB Notification: Performance of Templates: time 0.007993/0.2436, allocations: 5.119 MB / 377.5 MB, free: 23.67 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches