Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001554/0.001554, allocations: 105.6 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001821/0.001821, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 60.12 kB / 306.5 MB, free: 0.9258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1127, allocations: 50.53 MB / 357 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004886/0.1176, allocations: 2.987 MB / 360 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.1194, allocations: 0.7558 MB / 360.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003187/0.1197, allocations: 7.938 kB / 360.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.12, allocations: 39.7 kB / 360.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.1204, allocations: 87.31 kB / 360.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.1208, allocations: 103.9 kB / 361 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005893/0.1214, allocations: 414.4 kB / 361.4 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003166/0.1217, allocations: 127.2 kB / 361.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.1221, allocations: 155.4 kB / 361.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.1223, allocations: 175.2 kB / 361.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.974e-05/0.1224, allocations: 40 kB / 361.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.927e-05/0.1225, allocations: 40 kB / 361.9 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.886e-05/0.1226, allocations: 79.7 kB / 362 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002593/0.1229, allocations: 175.2 kB / 362.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005193/0.1234, allocations: 454.8 kB / 362.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.1235, allocations: 7.984 kB / 362.6 MB, free: 8.762 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1235, allocations: 0 / 362.6 MB, free: 8.762 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.1235, allocations: 0 / 362.6 MB, free: 8.762 MB / 302.1 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.001944/0.1254, allocations: 0.673 MB / 363.3 MB, free: 8.031 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.1255, allocations: 8.031 kB / 363.3 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.1257, allocations: 36.5 kB / 363.3 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.1262, allocations: 303.5 kB / 363.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/0.1263, allocations: 20.94 kB / 363.6 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.919e-05/0.1263, allocations: 20.38 kB / 363.6 MB, free: 7.609 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.1274, allocations: 332 kB / 364 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.1275, allocations: 0 / 364 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.99e-05/0.1275, allocations: 8 kB / 364 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.1276, allocations: 8 kB / 364 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.1288, allocations: 290 kB / 364.3 MB, free: 6.977 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002804/0.1316, allocations: 1.143 MB / 365.4 MB, free: 5.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.1328, allocations: 250.6 kB / 365.7 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.1334, allocations: 108.8 kB / 365.8 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.1334, allocations: 0 / 365.8 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008626/0.1343, allocations: 193.8 kB / 366 MB, free: 5.176 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 2.555e-06/0.1343, allocations: 0 / 366 MB, free: 5.176 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.003474/0.1378, allocations: 0.6663 MB / 366.6 MB, free: 4.484 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.1379, allocations: 102.8 kB / 366.7 MB, free: 4.359 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004922/0.1384, allocations: 286.6 kB / 367 MB, free: 4.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.1385, allocations: 37.69 kB / 367 MB, free: 4.027 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.1387, allocations: 195.6 kB / 367.2 MB, free: 3.832 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.45e-05/0.1388, allocations: 47.44 kB / 367.3 MB, free: 3.785 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.139, allocations: 53.84 kB / 367.3 MB, free: 3.723 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.1392, allocations: 335 kB / 367.7 MB, free: 3.387 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004915/0.1397, allocations: 108.1 kB / 367.8 MB, free: 3.281 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005943/0.1403, allocations: 217.1 kB / 368 MB, free: 3.023 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.1413, allocations: 328.6 kB / 368.3 MB, free: 2.656 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1414, allocations: 4 kB / 368.3 MB, free: 2.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00178/0.1432, allocations: 478.5 kB / 368.8 MB, free: 2.172 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.7e-05/0.1432, allocations: 33.7 kB / 368.8 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.1433, allocations: 11.97 kB / 368.8 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006054/0.1439, allocations: 80.88 kB / 368.9 MB, free: 2.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.1442, allocations: 55.89 kB / 368.9 MB, free: 1.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2171/0.3613, allocations: 2.063 MB / 371 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004648/0.3618, allocations: 51.23 kB / 371.1 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.3619, allocations: 13.95 kB / 371.1 MB, free: 19.62 MB / 302.1 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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001832/0.3621, allocations: 148.1 kB / 371.2 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.3621, allocations: 30.66 kB / 371.2 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.256e-05/0.3622, allocations: 27.14 kB / 371.3 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.3622, allocations: 1.656 kB / 371.3 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3622, allocations: 3.125 kB / 371.3 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3622, allocations: 0.7031 kB / 371.3 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.3626, allocations: 329 kB / 371.6 MB, free: 19.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3626, allocations: 2.047 kB / 371.6 MB, free: 19.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.3627, allocations: 21.03 kB / 371.6 MB, free: 19.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003333/0.3631, allocations: 83.14 kB / 371.7 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.3631, allocations: 4.562 kB / 371.7 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002292/0.3654, allocations: 1.983 MB / 373.7 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3654, allocations: 1.578 kB / 373.7 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.3666, allocations: 365.5 kB / 374 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.3667, allocations: 105 kB / 374.1 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.3667, allocations: 4.875 kB / 374.2 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.367, allocations: 31.97 kB / 374.2 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.3671, allocations: 29.06 kB / 374.2 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.3671, allocations: 6.859 kB / 374.2 MB, free: 17.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002435/0.3674, allocations: 201.5 kB / 374.4 MB, free: 17.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3674, allocations: 0 / 374.4 MB, free: 17.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004573/0.3678, allocations: 79.11 kB / 374.5 MB, free: 17.58 MB / 302.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001264/0.368, allocations: 104.5 kB / 374.6 MB, free: 17.49 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.3694, allocations: 0.4973 MB / 375.1 MB, free: 17.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3694, allocations: 4.781 kB / 375.1 MB, free: 17.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004904/0.3699, allocations: 238 kB / 375.3 MB, free: 17.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.3702, allocations: 53.64 kB / 375.4 MB, free: 17.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.3735, allocations: 1.031 MB / 376.4 MB, free: 16.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.3737, allocations: 0.7542 MB / 377.2 MB, free: 16.17 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001315/0.3738, allocations: 26.86 kB / 377.2 MB, free: 16.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.226e-05/0.3739, allocations: 20.56 kB / 377.2 MB, free: 16.15 MB / 302.1 MB Notification: Performance of SimCode: time 5.92e-07/0.3739, allocations: 0 / 377.2 MB, free: 16.15 MB / 302.1 MB Notification: Performance of Templates: time 0.00948/0.3834, allocations: 3.966 MB / 381.2 MB, free: 15.92 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches