Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009832/0.0009832, allocations: 195.5 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 226.5 MB / 245.4 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008015/0.0008018, allocations: 98.75 kB / 297.4 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000223/0.000223, allocations: 4 kB / 357.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2424, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1093/0.3517, allocations: 81.93 MB / 490.6 MB, free: 9.668 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.3521, allocations: 83.95 kB / 490.7 MB, free: 9.586 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01933/0.3714, allocations: 6.512 MB / 497.2 MB, free: 3.047 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.3714, allocations: 4 kB / 497.2 MB, free: 3.043 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.015e-05/0.3715, allocations: 4 kB / 497.2 MB, free: 3.039 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.001243/0.3727, allocations: 0.6315 MB / 497.8 MB, free: 2.352 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3728, allocations: 12.02 kB / 497.9 MB, free: 2.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.3729, allocations: 32.56 kB / 497.9 MB, free: 2.309 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000459/0.3734, allocations: 308.1 kB / 498.2 MB, free: 1.969 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.3734, allocations: 16.94 kB / 498.2 MB, free: 1.953 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.617e-05/0.3735, allocations: 24.38 kB / 498.2 MB, free: 1.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000796/0.3743, allocations: 340.2 kB / 498.6 MB, free: 1.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3743, allocations: 4.188 kB / 498.6 MB, free: 1.586 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.3744, allocations: 15.94 kB / 498.6 MB, free: 1.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.3744, allocations: 4 kB / 498.6 MB, free: 1.566 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008718/0.3752, allocations: 310 kB / 498.9 MB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/0.3774, allocations: 1.182 MB / 0.4883 GB, free: 0 / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008812/0.3783, allocations: 281.8 kB / 0.4886 GB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.3786, allocations: 124.8 kB / 0.4887 GB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.3787, allocations: 0 / 0.4887 GB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000547/0.3792, allocations: 202.5 kB / 0.4889 GB, free: 15.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.3792, allocations: 0 / 0.4889 GB, free: 15.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.002448/0.3817, allocations: 0.7449 MB / 0.4897 GB, free: 14.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.3818, allocations: 103 kB / 0.4898 GB, free: 14.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.3821, allocations: 286.6 kB / 0.49 GB, free: 14.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.3822, allocations: 33.64 kB / 0.4901 GB, free: 14.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.3823, allocations: 199.6 kB / 0.4902 GB, free: 13.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.3823, allocations: 47.45 kB / 0.4903 GB, free: 13.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/0.3824, allocations: 4 kB / 0.4903 GB, free: 13.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3825, allocations: 334.8 kB / 0.4906 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/0.3829, allocations: 120.2 kB / 0.4907 GB, free: 13.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000445/0.3833, allocations: 233.1 kB / 0.491 GB, free: 13.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007528/0.3841, allocations: 344.7 kB / 0.4913 GB, free: 12.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3841, allocations: 3.938 kB / 0.4913 GB, free: 12.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00134/0.3855, allocations: 0.5063 MB / 0.4918 GB, free: 12.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.253e-05/0.3855, allocations: 37.73 kB / 0.4918 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.3856, allocations: 4 kB / 0.4918 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003979/0.386, allocations: 92.73 kB / 0.4919 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.3862, allocations: 51.97 kB / 0.492 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/0.3891, allocations: 1.924 MB / 0.4938 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.3895, allocations: 59.66 kB / 0.4939 GB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.3895, allocations: 16.06 kB / 0.4939 GB, free: 9.941 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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.0001961/0.3897, allocations: 153.8 kB / 0.4941 GB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.3898, allocations: 31.64 kB / 0.4941 GB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.198e-05/0.3898, allocations: 21.84 kB / 0.4941 GB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3899, allocations: 4 kB / 0.4941 GB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.3899, allocations: 0 / 0.4941 GB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.3899, allocations: 3.984 kB / 0.4941 GB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.3902, allocations: 321.4 kB / 0.4944 GB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3903, allocations: 4 kB / 0.4944 GB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.3904, allocations: 31.97 kB / 0.4945 GB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003021/0.3907, allocations: 84.8 kB / 0.4945 GB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.3908, allocations: 0 / 0.4945 GB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/0.3931, allocations: 1.819 MB / 0.4963 GB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3932, allocations: 3.938 kB / 0.4963 GB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.3943, allocations: 413.4 kB / 0.4967 GB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.88e-05/0.3944, allocations: 104.7 kB / 0.4968 GB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.3944, allocations: 7.984 kB / 0.4968 GB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.3947, allocations: 39.97 kB / 0.4969 GB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.306e-05/0.3948, allocations: 19.97 kB / 0.4969 GB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.3948, allocations: 4 kB / 0.4969 GB, free: 6.664 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002194/0.395, allocations: 201.9 kB / 0.4971 GB, free: 6.465 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.395, allocations: 0 / 0.4971 GB, free: 6.465 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004293/0.3955, allocations: 83.75 kB / 0.4972 GB, free: 6.383 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.000182/0.3957, allocations: 107.3 kB / 0.4973 GB, free: 6.266 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.397, allocations: 0.5218 MB / 0.4978 GB, free: 5.719 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.397, allocations: 0 / 0.4978 GB, free: 5.719 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005149/0.3976, allocations: 254.9 kB / 0.498 GB, free: 5.461 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.3979, allocations: 60.39 kB / 0.4981 GB, free: 5.402 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.4011, allocations: 1.119 MB / 0.4992 GB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.4014, allocations: 0.756 MB / 0.4999 GB, free: 3.469 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.637e-05/0.4015, allocations: 23.44 kB / 0.4999 GB, free: 3.445 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.4015, allocations: 4 kB / 0.4999 GB, free: 3.441 MB / 378.7 MB Notification: Performance of Templates: time 0.1863/0.5878, allocations: 4.719 MB / 0.5045 GB, free: 96.77 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches