Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 103.4 kB / 16.62 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 193.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 241.2 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 47.56 kB / 300.1 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09417/0.09524, allocations: 49.44 MB / 349.6 MB, free: 4.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004253/0.09953, allocations: 2.978 MB / 352.6 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.101, allocations: 0.7168 MB / 353.3 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.1013, allocations: 4 kB / 353.3 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.1015, allocations: 35.7 kB / 353.3 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.1017, allocations: 87.36 kB / 353.4 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.102, allocations: 99.92 kB / 353.5 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004007/0.1024, allocations: 418.4 kB / 353.9 MB, free: 344 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.1026, allocations: 127.2 kB / 354 MB, free: 216 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.1028, allocations: 159.4 kB / 354.2 MB, free: 56 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.103, allocations: 171.4 kB / 354.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.609e-05/0.103, allocations: 40 kB / 354.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.607e-05/0.1031, allocations: 43.94 kB / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.33e-05/0.1032, allocations: 71.81 kB / 354.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.1033, allocations: 179.1 kB / 354.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.1037, allocations: 454.6 kB / 355.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1037, allocations: 0 / 355.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1037, allocations: 0 / 355.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1038, allocations: 0 / 355.1 MB, free: 15.11 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.001269/0.105, allocations: 0.673 MB / 355.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1051, allocations: 15.89 kB / 355.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.303e-05/0.1052, allocations: 40.55 kB / 355.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.1055, allocations: 295.6 kB / 356.1 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.1056, allocations: 20.88 kB / 356.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.1056, allocations: 24.38 kB / 356.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006966/0.1063, allocations: 331.9 kB / 356.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1063, allocations: 0 / 356.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.1064, allocations: 19.92 kB / 356.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1064, allocations: 4 kB / 356.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007767/0.1072, allocations: 282.1 kB / 356.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.109, allocations: 1.158 MB / 358 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00081/0.1099, allocations: 246.6 kB / 358.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003303/0.1102, allocations: 108.7 kB / 358.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.1102, allocations: 4 kB / 358.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005/0.1107, allocations: 180.6 kB / 358.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.1107, allocations: 0 / 358.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002298/0.1131, allocations: 0.6628 MB / 359.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.1131, allocations: 114.8 kB / 359.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.1135, allocations: 290.5 kB / 359.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.1135, allocations: 29.7 kB / 359.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.1136, allocations: 199.6 kB / 359.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.1137, allocations: 39.45 kB / 359.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.072e-05/0.1138, allocations: 53.84 kB / 359.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1139, allocations: 338.8 kB / 360.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/0.1143, allocations: 108.1 kB / 360.3 MB, free: 9.625 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/0.1147, allocations: 209.2 kB / 360.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000678/0.1154, allocations: 316.6 kB / 360.8 MB, free: 9.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.1154, allocations: 0 / 360.8 MB, free: 9.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001226/0.1166, allocations: 482.2 kB / 361.3 MB, free: 8.535 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.1167, allocations: 37.77 kB / 361.3 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.1167, allocations: 4 kB / 361.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003744/0.1171, allocations: 88.8 kB / 361.4 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.1173, allocations: 51.89 kB / 361.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002948/0.1202, allocations: 2.064 MB / 363.5 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/0.1207, allocations: 55.95 kB / 363.6 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.1207, allocations: 12 kB / 363.6 MB, free: 6.078 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.0001819/0.1209, allocations: 161.7 kB / 363.8 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.121, allocations: 23.72 kB / 363.8 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.121, allocations: 25.83 kB / 363.8 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.121, allocations: 0 / 363.8 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.121, allocations: 0 / 363.8 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1211, allocations: 0 / 363.8 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.1214, allocations: 337.2 kB / 364.1 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1214, allocations: 0 / 364.1 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.1215, allocations: 32.09 kB / 364.2 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002788/0.1218, allocations: 80.75 kB / 364.3 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.1218, allocations: 3.984 kB / 364.3 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002445/0.1243, allocations: 1.986 MB / 366.2 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1243, allocations: 0 / 366.2 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.1254, allocations: 372.8 kB / 366.6 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.682e-05/0.1255, allocations: 96.83 kB / 366.7 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.1255, allocations: 7.984 kB / 366.7 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.1258, allocations: 31.91 kB / 366.7 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.1259, allocations: 23.97 kB / 366.8 MB, free: 2.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1259, allocations: 4 kB / 366.8 MB, free: 2.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002064/0.1261, allocations: 206 kB / 367 MB, free: 2.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1261, allocations: 0 / 367 MB, free: 2.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004473/0.1266, allocations: 79.78 kB / 367 MB, free: 2.402 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.0001603/0.1267, allocations: 103.2 kB / 367.1 MB, free: 2.289 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.128, allocations: 0.4973 MB / 367.6 MB, free: 1.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.128, allocations: 4 kB / 367.6 MB, free: 1.766 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004697/0.1285, allocations: 243.2 kB / 367.9 MB, free: 1.516 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.1289, allocations: 48.59 kB / 367.9 MB, free: 1.469 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.1318, allocations: 1.031 MB / 369 MB, free: 416 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1549/0.2867, allocations: 0.7531 MB / 369.7 MB, free: 25.67 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002354/0.287, allocations: 25.77 kB / 369.7 MB, free: 25.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.154e-05/0.2871, allocations: 26.17 kB / 369.8 MB, free: 25.66 MB / 302.1 MB Notification: Performance of SimCode: time 1.032e-06/0.2871, allocations: 0 / 369.8 MB, free: 25.66 MB / 302.1 MB Notification: Performance of Templates: time 0.009666/0.2968, allocations: 3.966 MB / 373.7 MB, free: 25.58 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches