Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002419/0.002423, allocations: 179.8 kB / 8.154 MB, free: 2.18 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.81/1.81, allocations: 205.2 MB / 213.7 MB, free: 13.87 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.001232/0.001232, allocations: 92.19 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.074e-05/1.089e-05, allocations: 4 kB / 314.3 MB, free: 9.035 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2253, allocations: 47.55 MB / 361.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1184/0.3438, allocations: 78.35 MB / 440.2 MB, free: 7.715 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.3441, allocations: 71.97 kB / 440.3 MB, free: 7.645 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03778/0.3819, allocations: 8.035 MB / 448.3 MB, free: 15.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.413e-05/0.382, allocations: 8 kB / 448.3 MB, free: 15.62 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001548/0.3835, allocations: 0.6336 MB / 448.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.3836, allocations: 8.031 kB / 448.9 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.3837, allocations: 51.44 kB / 449 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/0.3843, allocations: 305.8 kB / 449.3 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.3843, allocations: 8 kB / 449.3 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.733e-05/0.3844, allocations: 23.98 kB / 449.3 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006449/0.3851, allocations: 189.3 kB / 449.5 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007828/0.3858, allocations: 283.7 kB / 449.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.3859, allocations: 3.906 kB / 449.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.314e-05/0.3859, allocations: 0 / 449.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.386, allocations: 8 kB / 449.8 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002934/0.3889, allocations: 1.105 MB / 450.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006522/0.3896, allocations: 219.6 kB / 451.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006503/0.3902, allocations: 193.3 kB / 451.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/0.3913, allocations: 1.125 MB / 452.4 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.3913, allocations: 46.7 kB / 452.5 MB, free: 11.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 2.735e-06/0.3914, allocations: 0 / 452.5 MB, free: 11.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009132/0.3923, allocations: 260.9 kB / 452.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.3923, allocations: 77.11 kB / 452.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004028/0.3928, allocations: 251.5 kB / 453 MB, free: 10.4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.3928, allocations: 29.7 kB / 453.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.3929, allocations: 242.3 kB / 453.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.794e-05/0.3931, allocations: 94.56 kB / 453.4 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.3931, allocations: 1.031 kB / 453.4 MB, free: 10.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3932, allocations: 330.8 kB / 453.7 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.3935, allocations: 76.75 kB / 453.8 MB, free: 9.625 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.3939, allocations: 165.4 kB / 454 MB, free: 9.434 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.3942, allocations: 96.67 kB / 454.1 MB, free: 9.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3942, allocations: 4.031 kB / 454.1 MB, free: 9.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001047/0.3953, allocations: 343.7 kB / 454.4 MB, free: 8.996 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3953, allocations: 8 kB / 454.4 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3953, allocations: 256 / 454.4 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003622/0.3957, allocations: 67.17 kB / 454.5 MB, free: 8.922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/0.3964, allocations: 79.89 kB / 454.5 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/0.399, allocations: 1.665 MB / 456.2 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.3994, allocations: 31.75 kB / 456.2 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/0.3994, allocations: 19.98 kB / 456.3 MB, free: 7.012 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.3996, allocations: 41.7 kB / 456.3 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.3997, allocations: 31.62 kB / 456.3 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009305/0.4006, allocations: 289.1 kB / 456.6 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.4007, allocations: 0 / 456.6 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.4007, allocations: 0 / 456.6 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.4007, allocations: 7.984 kB / 456.6 MB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000643/0.4013, allocations: 341.7 kB / 457 MB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4014, allocations: 4 kB / 457 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006815/0.402, allocations: 63.89 kB / 457 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002788/0.4023, allocations: 52.83 kB / 457.1 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.4024, allocations: 7.984 kB / 457.1 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006269/0.403, allocations: 0.6108 MB / 457.7 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4031, allocations: 4.062 kB / 457.7 MB, free: 5.496 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001098/0.4042, allocations: 468.4 kB / 458.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.4043, allocations: 112.6 kB / 458.3 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.063e-05/0.4044, allocations: 7.984 kB / 458.3 MB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005015/0.4049, allocations: 27.89 kB / 458.3 MB, free: 4.852 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.405, allocations: 15.98 kB / 458.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.405, allocations: 7.984 kB / 458.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002971/0.4053, allocations: 191.8 kB / 458.5 MB, free: 4.645 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006239/0.406, allocations: 107.7 kB / 458.6 MB, free: 4.539 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002807/0.4063, allocations: 127.2 kB / 458.7 MB, free: 4.402 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009652/0.4072, allocations: 345 kB / 459.1 MB, free: 4.059 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4073, allocations: 0.5 kB / 459.1 MB, free: 4.059 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004299/0.4077, allocations: 131.8 kB / 459.2 MB, free: 3.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.4081, allocations: 20.22 kB / 459.2 MB, free: 3.914 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.4098, allocations: 0.6739 MB / 459.9 MB, free: 3.211 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005944/0.4105, allocations: 0.8314 MB / 460.7 MB, free: 2.355 MB / 346.7 MB Notification: Performance of SimCode: time 7.91e-07/0.4105, allocations: 0 / 460.7 MB, free: 2.355 MB / 346.7 MB Notification: Performance of Templates: time 0.01106/0.4215, allocations: 5.177 MB / 465.9 MB, free: 13.22 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches