Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009889/0.000989, allocations: 197.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.17/1.17, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008098/0.0008098, allocations: 106.2 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002201/0.0002202, allocations: 7.984 kB / 357.9 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1729, allocations: 51.49 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08567/0.2586, allocations: 81.96 MB / 491.4 MB, free: 8.645 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.2588, allocations: 83.94 kB / 491.5 MB, free: 8.562 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01697/0.2758, allocations: 6.481 MB / 498 MB, free: 2.059 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.2758, allocations: 0 / 498 MB, free: 2.059 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.2759, allocations: 8 kB / 498 MB, free: 2.051 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001104/0.277, allocations: 0.6392 MB / 498.6 MB, free: 1.355 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.277, allocations: 8.031 kB / 498.6 MB, free: 1.348 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.162e-05/0.2771, allocations: 31.62 kB / 498.6 MB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.2775, allocations: 303.2 kB / 498.9 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.2775, allocations: 24.44 kB / 499 MB, free: 0.957 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.2776, allocations: 24 kB / 499 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006826/0.2783, allocations: 339.6 kB / 499.3 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2783, allocations: 0 / 499.3 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.2783, allocations: 8 kB / 499.3 MB, free: 0.582 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.2783, allocations: 8 kB / 499.3 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007937/0.2791, allocations: 318 kB / 499.6 MB, free: 268 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.281, allocations: 1.186 MB / 0.4891 GB, free: 15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007933/0.2818, allocations: 278.5 kB / 0.4894 GB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.2818, allocations: 4 kB / 0.4894 GB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004559/0.2823, allocations: 193.8 kB / 0.4895 GB, free: 14.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.2823, allocations: 0 / 0.4895 GB, free: 14.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.002143/0.2844, allocations: 0.7293 MB / 0.4903 GB, free: 13.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.2845, allocations: 110.8 kB / 0.4904 GB, free: 13.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.2847, allocations: 253.8 kB / 0.4906 GB, free: 13.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.2848, allocations: 25.7 kB / 0.4906 GB, free: 13.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.2849, allocations: 199.5 kB / 0.4908 GB, free: 13.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.2849, allocations: 43.45 kB / 0.4909 GB, free: 13.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.2849, allocations: 4 kB / 0.4909 GB, free: 13.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.285, allocations: 336 kB / 0.4912 GB, free: 12.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/0.2854, allocations: 124.4 kB / 0.4913 GB, free: 12.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.2858, allocations: 216.9 kB / 0.4915 GB, free: 12.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.2862, allocations: 157.6 kB / 0.4917 GB, free: 12.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2862, allocations: 4.219 kB / 0.4917 GB, free: 12.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001213/0.2874, allocations: 0.4958 MB / 0.4922 GB, free: 11.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.2874, allocations: 48.28 kB / 0.4922 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2875, allocations: 0 / 0.4922 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003427/0.2878, allocations: 92.83 kB / 0.4923 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.288, allocations: 47.91 kB / 0.4923 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.2903, allocations: 1.858 MB / 0.4941 GB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.2906, allocations: 63.8 kB / 0.4942 GB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.2906, allocations: 12 kB / 0.4942 GB, free: 9.43 MB / 378.7 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 ($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 (23): * Single equations (assignments): 21 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.2908, allocations: 145.8 kB / 0.4944 GB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.2908, allocations: 23.72 kB / 0.4944 GB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.2909, allocations: 25.83 kB / 0.4944 GB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2909, allocations: 4 kB / 0.4944 GB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2909, allocations: 7.953 kB / 0.4944 GB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2909, allocations: 0 / 0.4944 GB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.2911, allocations: 321.3 kB / 0.4947 GB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2912, allocations: 4 kB / 0.4947 GB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.2913, allocations: 27.97 kB / 0.4948 GB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002593/0.2916, allocations: 84.81 kB / 0.4948 GB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.2916, allocations: 3.984 kB / 0.4948 GB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.2935, allocations: 1.722 MB / 0.4965 GB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2935, allocations: 3.953 kB / 0.4965 GB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.2946, allocations: 414.1 kB / 0.4969 GB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.2946, allocations: 108.8 kB / 0.497 GB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.2947, allocations: 4 kB / 0.497 GB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.2949, allocations: 43.91 kB / 0.4971 GB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.295, allocations: 23.91 kB / 0.4971 GB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.295, allocations: 7.984 kB / 0.4971 GB, free: 6.246 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001779/0.2952, allocations: 198 kB / 0.4973 GB, free: 6.051 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2952, allocations: 0 / 0.4973 GB, free: 6.051 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003449/0.2956, allocations: 79.78 kB / 0.4974 GB, free: 5.973 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001318/0.2957, allocations: 111.2 kB / 0.4975 GB, free: 5.855 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008998/0.2966, allocations: 463.4 kB / 0.4979 GB, free: 5.383 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2966, allocations: 64 / 0.4979 GB, free: 5.383 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000447/0.2971, allocations: 250.5 kB / 0.4981 GB, free: 5.125 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.2973, allocations: 46.59 kB / 0.4982 GB, free: 5.082 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009336/0.2983, allocations: 0.5687 MB / 0.4987 GB, free: 4.477 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.2986, allocations: 0.7677 MB / 0.4995 GB, free: 3.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.2987, allocations: 22.3 kB / 0.4995 GB, free: 3.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.2987, allocations: 19.44 kB / 0.4995 GB, free: 3.645 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2988, allocations: 4 kB / 0.4995 GB, free: 3.641 MB / 378.7 MB Notification: Performance of Templates: time 0.006614/0.3054, allocations: 3.657 MB / 0.5031 GB, free: 24 kB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches