Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.482/1.482, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0007438/0.0007438, allocations: 82.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.231e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08041/0.08046, allocations: 47.57 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.284/0.3645, allocations: 79.03 MB / 449.1 MB, free: 14.28 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.3648, allocations: 82.33 kB / 449.1 MB, free: 14.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01575/0.3806, allocations: 5.666 MB / 454.8 MB, free: 9.371 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.567e-06/0.3806, allocations: 0 / 454.8 MB, free: 9.371 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.3806, allocations: 11.94 kB / 454.8 MB, free: 9.359 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009021/0.3815, allocations: 0.5707 MB / 455.4 MB, free: 8.758 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.3816, allocations: 8.031 kB / 455.4 MB, free: 8.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.755e-05/0.3817, allocations: 27.72 kB / 455.4 MB, free: 8.723 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.382, allocations: 262.2 kB / 455.7 MB, free: 8.449 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.382, allocations: 20.27 kB / 455.7 MB, free: 8.438 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.3821, allocations: 19.81 kB / 455.7 MB, free: 8.422 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.3824, allocations: 192.4 kB / 455.9 MB, free: 8.285 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3825, allocations: 7.938 kB / 455.9 MB, free: 8.277 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.3825, allocations: 11.62 kB / 455.9 MB, free: 8.273 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3825, allocations: 4 kB / 455.9 MB, free: 8.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002743/0.3828, allocations: 159 kB / 456.1 MB, free: 8.176 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.3843, allocations: 0.9336 MB / 457 MB, free: 7.324 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.3847, allocations: 153.1 kB / 457.2 MB, free: 7.211 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.3848, allocations: 62.3 kB / 457.2 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.3848, allocations: 0 / 457.2 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/0.3851, allocations: 144 kB / 457.4 MB, free: 7.031 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.3851, allocations: 0 / 457.4 MB, free: 7.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005478/0.3857, allocations: 214.4 kB / 457.6 MB, free: 6.852 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.3858, allocations: 110.8 kB / 457.7 MB, free: 6.719 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.386, allocations: 235.8 kB / 457.9 MB, free: 6.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.386, allocations: 32.95 kB / 458 MB, free: 6.484 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3862, allocations: 177.4 kB / 458.1 MB, free: 6.336 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.3862, allocations: 45.11 kB / 458.2 MB, free: 6.297 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/0.3862, allocations: 6.375 kB / 458.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3864, allocations: 342.8 kB / 458.5 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.3865, allocations: 58.17 kB / 458.6 MB, free: 5.926 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.3866, allocations: 124.1 kB / 458.7 MB, free: 5.797 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.3868, allocations: 91.7 kB / 458.8 MB, free: 5.723 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3868, allocations: 0 / 458.8 MB, free: 5.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005468/0.3873, allocations: 333.3 kB / 459.1 MB, free: 5.441 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002998/0.3876, allocations: 0.8138 MB / 459.9 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3876, allocations: 3.984 kB / 459.9 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002323/0.3879, allocations: 51.66 kB / 460 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.3881, allocations: 43.91 kB / 460 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006332/0.3887, allocations: 0.6438 MB / 460.7 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.3891, allocations: 55.91 kB / 460.7 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.3891, allocations: 15.98 kB / 460.7 MB, free: 3.766 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.283e-06/0.3891, allocations: 4 kB / 460.7 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004016/0.3895, allocations: 250.3 kB / 461 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3895, allocations: 4 kB / 461 MB, free: 3.504 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.747e-05/0.3896, allocations: 37 kB / 461 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.3898, allocations: 47.91 kB / 461.1 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/0.391, allocations: 1.538 MB / 462.6 MB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.3913, allocations: 47.88 kB / 462.6 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.3913, allocations: 12 kB / 462.7 MB, free: 1.688 MB / 330.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: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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 9.168e-05/0.3914, allocations: 120.8 kB / 462.8 MB, free: 1.562 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.3915, allocations: 23.72 kB / 462.8 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.908e-05/0.3915, allocations: 33.89 kB / 462.8 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3915, allocations: 4 kB / 462.8 MB, free: 1.496 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.3915, allocations: 0 / 462.8 MB, free: 1.496 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3915, allocations: 3.984 kB / 462.8 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.3918, allocations: 297.4 kB / 463.1 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3918, allocations: 0 / 463.1 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.3919, allocations: 27.98 kB / 463.2 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/0.3921, allocations: 48.83 kB / 463.2 MB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.3921, allocations: 4 kB / 463.2 MB, free: 1.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.3935, allocations: 1.604 MB / 464.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3935, allocations: 0 / 464.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.3939, allocations: 257.6 kB / 465.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.915e-05/0.394, allocations: 108.7 kB / 465.2 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.394, allocations: 12 kB / 465.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.3943, allocations: 31.97 kB / 465.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.32e-05/0.3944, allocations: 19.97 kB / 465.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.3944, allocations: 4 kB / 465.2 MB, free: 14.87 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.3946, allocations: 191.1 kB / 465.4 MB, free: 14.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.373e-06/0.3946, allocations: 0 / 465.4 MB, free: 14.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004639/0.395, allocations: 127.7 kB / 465.6 MB, free: 14.56 MB / 346.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) * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001296/0.3952, allocations: 103.2 kB / 465.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008624/0.396, allocations: 0.5328 MB / 466.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3961, allocations: 256 / 466.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000253/0.3963, allocations: 198.6 kB / 466.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.3966, allocations: 44.47 kB / 466.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.3983, allocations: 0.6412 MB / 467.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.3986, allocations: 0.7531 MB / 467.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001695/0.3988, allocations: 42.03 kB / 467.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/0.3988, allocations: 15.44 kB / 467.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3988, allocations: 0 / 467.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of Templates: time 0.007076/0.4059, allocations: 3.768 MB / 471.6 MB, free: 8.367 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches