Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001533, allocations: 186.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.959/1.959, allocations: 205.4 MB / 222.5 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 91.25 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003835, allocations: 11.98 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3491, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.4819, allocations: 79.41 MB / 454 MB, free: 1.363 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/0.4823, allocations: 75.95 kB / 454 MB, free: 1.289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02969/0.512, allocations: 6.073 MB / 460.1 MB, free: 11.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.512, allocations: 0 / 460.1 MB, free: 11.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.101e-05/0.5121, allocations: 11.98 kB / 460.1 MB, free: 11.18 MB / 346.7 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.001772/0.5138, allocations: 0.6184 MB / 460.7 MB, free: 10.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.5139, allocations: 12.03 kB / 460.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.5141, allocations: 35.62 kB / 460.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005243/0.5146, allocations: 280.5 kB / 461.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.5147, allocations: 16.56 kB / 461.1 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.509e-05/0.5147, allocations: 27.98 kB / 461.1 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.5159, allocations: 272.8 kB / 461.4 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.5159, allocations: 0 / 461.4 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.5159, allocations: 8 kB / 461.4 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.516, allocations: 4 kB / 461.4 MB, free: 9.816 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.5175, allocations: 302 kB / 461.7 MB, free: 9.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003/0.5205, allocations: 0.9956 MB / 462.7 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.522, allocations: 274.6 kB / 462.9 MB, free: 8.176 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.202e-05/0.5221, allocations: 4 kB / 462.9 MB, free: 8.172 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008064/0.5229, allocations: 193.8 kB / 463.1 MB, free: 7.961 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.785e-06/0.5229, allocations: 0 / 463.1 MB, free: 7.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.003567/0.5265, allocations: 0.681 MB / 463.8 MB, free: 7.254 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.453e-05/0.5266, allocations: 106.8 kB / 463.9 MB, free: 7.125 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004351/0.5271, allocations: 229.8 kB / 464.1 MB, free: 6.895 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.5272, allocations: 33.7 kB / 464.2 MB, free: 6.855 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.5273, allocations: 234.2 kB / 464.4 MB, free: 6.625 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.71e-05/0.5274, allocations: 59.23 kB / 464.5 MB, free: 6.566 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.5275, allocations: 4 kB / 464.5 MB, free: 6.562 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5276, allocations: 322.8 kB / 464.8 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005875/0.5282, allocations: 108.1 kB / 464.9 MB, free: 6.129 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006582/0.5289, allocations: 188.7 kB / 465.1 MB, free: 5.918 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006595/0.5295, allocations: 146.5 kB / 465.2 MB, free: 5.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.5296, allocations: 3.938 kB / 465.2 MB, free: 5.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001853/0.5314, allocations: 434.3 kB / 465.6 MB, free: 5.328 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003/0.5317, allocations: 0.6506 MB / 466.3 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.5318, allocations: 3.953 kB / 466.3 MB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005108/0.5323, allocations: 76.75 kB / 466.4 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.5327, allocations: 51.95 kB / 466.4 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008405/0.5336, allocations: 0.6264 MB / 467 MB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006003/0.5342, allocations: 55.81 kB / 467.1 MB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.5343, allocations: 12 kB / 467.1 MB, free: 3.773 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.5343, allocations: 4 kB / 467.1 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001333/0.5356, allocations: 330.9 kB / 467.4 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.5357, allocations: 4 kB / 467.4 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/0.5358, allocations: 45.02 kB / 467.5 MB, free: 3.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.5363, allocations: 55.84 kB / 467.5 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.5381, allocations: 1.543 MB / 469.1 MB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004873/0.5386, allocations: 44.34 kB / 469.1 MB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.5387, allocations: 16 kB / 469.1 MB, free: 1.602 MB / 346.7 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003147/0.539, allocations: 221 kB / 469.4 MB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.5391, allocations: 23.72 kB / 469.4 MB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.715e-05/0.5392, allocations: 30.12 kB / 469.4 MB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5393, allocations: 0 / 469.4 MB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.5393, allocations: 8 kB / 469.4 MB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5393, allocations: 0 / 469.4 MB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.5398, allocations: 305.5 kB / 469.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.5398, allocations: 4 kB / 469.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/0.5402, allocations: 35.97 kB / 469.8 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/0.5406, allocations: 72.81 kB / 469.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.5407, allocations: 4 kB / 469.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003129/0.5438, allocations: 1.671 MB / 471.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5439, allocations: 384 / 471.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/0.5463, allocations: 0.4934 MB / 472 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.5465, allocations: 108.9 kB / 472.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.157e-05/0.5465, allocations: 8 kB / 472.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000459/0.547, allocations: 35.97 kB / 472.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.5472, allocations: 27.94 kB / 472.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.5472, allocations: 8 kB / 472.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003099/0.5475, allocations: 190 kB / 472.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5475, allocations: 0 / 472.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007766/0.5483, allocations: 143.7 kB / 472.5 MB, free: 13.99 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002063/0.5485, allocations: 107.1 kB / 472.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002352/0.5509, allocations: 0.6517 MB / 473.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.309e-06/0.5509, allocations: 0 / 473.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008308/0.5518, allocations: 254.7 kB / 473.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.5523, allocations: 40.53 kB / 473.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.5541, allocations: 0.6572 MB / 474.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.5545, allocations: 0.768 MB / 475 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.5546, allocations: 19.44 kB / 475 MB, free: 11.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.233e-06/0.5546, allocations: 0 / 475 MB, free: 11.39 MB / 362.7 MB Notification: Performance of Templates: time 0.0102/0.5648, allocations: 4.296 MB / 479.3 MB, free: 7.105 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches