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/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 3.2.3+maint.om/package.mo", uses=false) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 113.3 kB / 18.4 MB, free: 4.699 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.001306/0.001307, allocations: 189.2 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 52.27 kB / 329.2 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09853/0.09984, allocations: 46.61 MB / 375.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.003712/0.1036, allocations: 2.7 MB / 378.5 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.1049, allocations: 0.7251 MB / 379.3 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.105, allocations: 4 kB / 379.3 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.1052, allocations: 43.58 kB / 379.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.1054, allocations: 91.19 kB / 379.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.1057, allocations: 91.88 kB / 379.5 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003557/0.106, allocations: 358.5 kB / 379.8 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.1062, allocations: 88.69 kB / 379.9 MB, free: 444 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.1064, allocations: 135.4 kB / 380.1 MB, free: 308 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.1066, allocations: 151.3 kB / 380.2 MB, free: 156 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.921e-05/0.1067, allocations: 28 kB / 380.2 MB, free: 128 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.071e-05/0.1067, allocations: 32 kB / 380.3 MB, free: 96 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.1068, allocations: 55.83 kB / 380.3 MB, free: 40 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2031/0.3099, allocations: 147.4 kB / 380.5 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004974/0.3104, allocations: 323.6 kB / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3104, allocations: 0 / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3104, allocations: 2.031 kB / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3104, allocations: 0 / 380.8 MB, free: 10.09 MB / 318.1 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.001224/0.3117, allocations: 0.6355 MB / 381.4 MB, free: 9.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3117, allocations: 8.859 kB / 381.4 MB, free: 9.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.943e-05/0.3118, allocations: 31.69 kB / 381.5 MB, free: 9.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.3122, allocations: 276.3 kB / 381.7 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.3122, allocations: 19.45 kB / 381.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.3123, allocations: 20.75 kB / 381.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006302/0.3129, allocations: 249.9 kB / 382 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3129, allocations: 3.938 kB / 382 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.313, allocations: 9.469 kB / 382 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.313, allocations: 5.5 kB / 382 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007627/0.3138, allocations: 255.3 kB / 382.3 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.3153, allocations: 0.8562 MB / 383.1 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007822/0.3161, allocations: 227.4 kB / 383.4 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.3164, allocations: 95.58 kB / 383.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.3165, allocations: 7.172 kB / 383.5 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004698/0.317, allocations: 172.2 kB / 383.6 MB, free: 8.832 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 2.885e-06/0.317, allocations: 0 / 383.6 MB, free: 8.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.002056/0.319, allocations: 0.5922 MB / 384.2 MB, free: 8.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.3191, allocations: 110.8 kB / 384.3 MB, free: 8.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.3194, allocations: 261.1 kB / 384.6 MB, free: 8.438 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.3195, allocations: 31.83 kB / 384.6 MB, free: 8.406 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.3196, allocations: 181.3 kB / 384.8 MB, free: 8.281 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.3196, allocations: 41.83 kB / 384.8 MB, free: 8.258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.334e-05/0.3197, allocations: 49.11 kB / 384.9 MB, free: 8.238 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.55e-05/0.3198, allocations: 338.9 kB / 385.2 MB, free: 7.922 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.3201, allocations: 99.72 kB / 385.3 MB, free: 7.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.3205, allocations: 173.1 kB / 385.5 MB, free: 7.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006115/0.3211, allocations: 276.8 kB / 385.8 MB, free: 7.711 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3211, allocations: 0 / 385.8 MB, free: 7.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001103/0.3222, allocations: 419.7 kB / 386.2 MB, free: 7.621 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.3223, allocations: 38.02 kB / 386.2 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3223, allocations: 6 kB / 386.2 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005084/0.3228, allocations: 111.8 kB / 386.3 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.323, allocations: 42.73 kB / 386.4 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.3251, allocations: 1.932 MB / 388.3 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/0.3254, allocations: 47.72 kB / 388.3 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.3255, allocations: 12.48 kB / 388.3 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003697/0.3258, allocations: 182.5 kB / 388.5 MB, free: 5.961 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003097/0.3262, allocations: 159.6 kB / 388.7 MB, free: 5.852 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005101/0.3267, allocations: 250.1 kB / 388.9 MB, free: 5.691 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.795e-06/0.3267, allocations: 1.062 kB / 388.9 MB, free: 5.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007659/0.3275, allocations: 354.9 kB / 389.3 MB, free: 5.531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.3275, allocations: 35.64 kB / 389.3 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3275, allocations: 1.5 kB / 389.3 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001249/0.3276, allocations: 43.19 kB / 389.3 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.3278, allocations: 40.03 kB / 389.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.3289, allocations: 1.727 MB / 391.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.3293, allocations: 43.88 kB / 391.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.3293, allocations: 8.234 kB / 391.2 MB, free: 3.836 MB / 318.1 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 (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 (20): * Single equations (assignments): 18 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.3294, allocations: 198.4 kB / 391.4 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.3295, allocations: 28.02 kB / 391.4 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.332e-05/0.3295, allocations: 31.19 kB / 391.4 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.3296, allocations: 1.125 kB / 391.4 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.3296, allocations: 1.094 kB / 391.4 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3296, allocations: 0.7969 kB / 391.4 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/0.3299, allocations: 293.7 kB / 391.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3299, allocations: 0 / 391.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.3301, allocations: 21.06 kB / 391.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002278/0.3303, allocations: 74.86 kB / 391.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.3303, allocations: 2.688 kB / 391.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.3321, allocations: 1.879 MB / 393.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3321, allocations: 0 / 393.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008707/0.333, allocations: 320.6 kB / 394 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.3331, allocations: 105.4 kB / 394.1 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.3331, allocations: 9 kB / 394.1 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.3334, allocations: 30.05 kB / 394.1 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/0.3335, allocations: 20.12 kB / 394.2 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.3335, allocations: 7.984 kB / 394.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001923/0.3337, allocations: 187.9 kB / 394.3 MB, free: 1.301 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3337, allocations: 0 / 394.3 MB, free: 1.301 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006636/0.3344, allocations: 118.7 kB / 394.5 MB, free: 1.285 MB / 318.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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001401/0.3345, allocations: 109.1 kB / 394.6 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.3361, allocations: 0.7341 MB / 395.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3361, allocations: 0 / 395.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004331/0.3365, allocations: 238.6 kB / 395.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.3369, allocations: 47.94 kB / 395.6 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.3389, allocations: 0.724 MB / 396.3 MB, free: 272 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.3394, allocations: 0.7484 MB / 397.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.613e-05/0.3395, allocations: 20.69 kB / 397.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3395, allocations: 4 kB / 397.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of Templates: time 0.00832/0.3478, allocations: 4.222 MB / 401.3 MB, free: 14.75 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches