Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,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.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,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.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001819/0.001818, allocations: 180.4 kB / 17.41 MB, free: 4.387 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.132/4.132, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.001342/0.001342, allocations: 85.42 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005863/0.0005864, allocations: 8 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6612/0.6618, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2309/0.8929, allocations: 79.45 MB / 455.2 MB, free: 1.188 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.004682/0.8976, allocations: 83.95 kB / 455.3 MB, free: 1.105 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06222/0.9599, allocations: 6.077 MB / 461.3 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.478e-06/0.9601, allocations: 3.938 kB / 461.3 MB, free: 11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.788e-05/0.9601, allocations: 8 kB / 461.4 MB, free: 10.99 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.002173/0.9623, allocations: 0.6186 MB / 462 MB, free: 10.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.707e-05/0.9624, allocations: 12.03 kB / 462 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.9626, allocations: 32.56 kB / 462 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007251/0.9633, allocations: 289.1 kB / 462.3 MB, free: 9.945 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/0.9634, allocations: 16.94 kB / 462.3 MB, free: 9.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.226e-05/0.9635, allocations: 24.38 kB / 462.3 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.9647, allocations: 285.3 kB / 462.6 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.9648, allocations: 192 / 462.6 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.335e-05/0.9649, allocations: 7.938 kB / 462.6 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.9649, allocations: 8 kB / 462.6 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.9665, allocations: 306 kB / 462.9 MB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01986/0.9863, allocations: 0.9655 MB / 463.9 MB, free: 8.273 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.9881, allocations: 394.1 kB / 464.3 MB, free: 7.863 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000667/0.9888, allocations: 148.8 kB / 464.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.9888, allocations: 0 / 464.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009468/0.9898, allocations: 205.7 kB / 464.6 MB, free: 7.492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 2.575e-06/0.9898, allocations: 0 / 464.6 MB, free: 7.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.003485/0.9933, allocations: 0.6896 MB / 465.3 MB, free: 6.777 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.9935, allocations: 110.8 kB / 465.4 MB, free: 6.645 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000587/0.9941, allocations: 270.5 kB / 465.7 MB, free: 6.371 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.62e-05/0.9942, allocations: 29.7 kB / 465.7 MB, free: 6.336 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.9944, allocations: 172.1 kB / 465.9 MB, free: 6.164 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.9946, allocations: 71.09 kB / 466 MB, free: 6.094 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.9946, allocations: 4 kB / 466 MB, free: 6.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003057/0.9949, allocations: 330.8 kB / 466.3 MB, free: 5.758 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005876/0.9955, allocations: 116.2 kB / 466.4 MB, free: 5.641 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/0.9963, allocations: 188 kB / 466.6 MB, free: 5.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009565/1.006, allocations: 305.9 kB / 466.9 MB, free: 5.105 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-05/1.006, allocations: 0 / 466.9 MB, free: 5.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.002259/1.008, allocations: 479.5 kB / 467.3 MB, free: 4.621 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002316/1.008, allocations: 167.7 kB / 467.5 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/1.009, allocations: 0 / 467.5 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004791/1.009, allocations: 61.92 kB / 467.6 MB, free: 4.363 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/1.009, allocations: 63.95 kB / 467.6 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002976/1.012, allocations: 1.495 MB / 469.1 MB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006843/1.013, allocations: 63.75 kB / 469.2 MB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.657e-05/1.013, allocations: 8 kB / 469.2 MB, free: 2.605 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/1.013, allocations: 7.938 kB / 469.2 MB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001832/1.027, allocations: 326.5 kB / 469.5 MB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/1.027, allocations: 3.938 kB / 469.5 MB, free: 2.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/1.028, allocations: 24.92 kB / 469.6 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/1.028, allocations: 67.94 kB / 469.6 MB, free: 2.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/1.03, allocations: 1.384 MB / 471 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006678/1.031, allocations: 47.91 kB / 471 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/1.031, allocations: 12 kB / 471.1 MB, free: 0.5938 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 (26): * Single equations (assignments): 24 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005567/1.031, allocations: 217 kB / 471.3 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/1.031, allocations: 23.72 kB / 471.3 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.712e-05/1.032, allocations: 30.17 kB / 471.3 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/1.032, allocations: 0 / 471.3 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.032, allocations: 96 / 471.3 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/1.032, allocations: 7.938 kB / 471.3 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/1.034, allocations: 0.7573 MB / 472.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/1.034, allocations: 0 / 472.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004665/1.035, allocations: 59.98 kB / 472.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003647/1.035, allocations: 48.83 kB / 472.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/1.035, allocations: 11.92 kB / 472.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007402/1.043, allocations: 1.484 MB / 473.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/1.043, allocations: 4.062 kB / 473.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/1.045, allocations: 0.5717 MB / 474.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/1.045, allocations: 104.8 kB / 474.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.109e-05/1.045, allocations: 11.98 kB / 474.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004694/1.05, allocations: 40.03 kB / 474.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/1.05, allocations: 19.97 kB / 474.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/1.05, allocations: 11.98 kB / 474.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000461/1.051, allocations: 189.9 kB / 474.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.051, allocations: 4 kB / 474.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001368/1.052, allocations: 135.7 kB / 474.8 MB, free: 12.63 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 13 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004652/1.053, allocations: 119.1 kB / 474.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007868/1.061, allocations: 0.7433 MB / 475.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/1.061, allocations: 0 / 475.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000972/1.062, allocations: 247 kB / 475.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/1.063, allocations: 52.53 kB / 475.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007003/1.07, allocations: 0.6826 MB / 476.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008008/1.071, allocations: 0.7679 MB / 477.4 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/1.071, allocations: 19.44 kB / 477.4 MB, free: 9.875 MB / 362.7 MB Notification: Performance of SimCode: time 2.194e-06/1.071, allocations: 0 / 477.4 MB, free: 9.875 MB / 362.7 MB Notification: Performance of Templates: time 0.02548/1.097, allocations: 4.543 MB / 481.9 MB, free: 5.344 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches