Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.VoltageFollower,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.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,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.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 103.2 kB / 18.4 MB, free: 4.68 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.002068/0.002068, allocations: 191.3 kB / 19.34 MB, free: 3.754 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.409/1.409, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001348/0.001348, allocations: 55.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09669/0.09805, allocations: 46.61 MB / 375.9 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004562/0.1027, allocations: 2.695 MB / 378.5 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.1042, allocations: 0.7212 MB / 379.3 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000235/0.1045, allocations: 4 kB / 379.3 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.1047, allocations: 39.58 kB / 379.3 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.1051, allocations: 91.25 kB / 379.4 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.1054, allocations: 95.81 kB / 379.5 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005429/0.106, allocations: 354.5 kB / 379.8 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.1062, allocations: 84.69 kB / 379.9 MB, free: 492 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/0.1065, allocations: 131.5 kB / 380.1 MB, free: 360 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.1068, allocations: 151.3 kB / 380.2 MB, free: 208 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.395e-05/0.1068, allocations: 28 kB / 380.2 MB, free: 180 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.478e-05/0.1069, allocations: 32 kB / 380.3 MB, free: 148 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.107, allocations: 63.75 kB / 380.3 MB, free: 84 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1838/0.2908, allocations: 138.1 kB / 380.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005501/0.2914, allocations: 325.4 kB / 380.8 MB, free: 10.69 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2914, allocations: 0 / 380.8 MB, free: 10.69 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2914, allocations: 1.375 kB / 380.8 MB, free: 10.69 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.2914, allocations: 0 / 380.8 MB, free: 10.69 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.001395/0.2928, allocations: 0.6371 MB / 381.4 MB, free: 10.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2929, allocations: 8.25 kB / 381.4 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.293, allocations: 31.69 kB / 381.5 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.2934, allocations: 276.5 kB / 381.7 MB, free: 9.988 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.2934, allocations: 16.06 kB / 381.7 MB, free: 9.988 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.2935, allocations: 20.56 kB / 381.8 MB, free: 9.988 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006395/0.2941, allocations: 251.3 kB / 382 MB, free: 9.949 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2942, allocations: 3.938 kB / 382 MB, free: 9.945 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.2942, allocations: 10.44 kB / 382 MB, free: 9.945 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2942, allocations: 4.125 kB / 382 MB, free: 9.945 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007494/0.295, allocations: 252.8 kB / 382.3 MB, free: 9.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.2965, allocations: 0.8134 MB / 383.1 MB, free: 9.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006728/0.2971, allocations: 269.2 kB / 383.3 MB, free: 9.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/0.2975, allocations: 89.28 kB / 383.4 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.2975, allocations: 1.719 kB / 383.4 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004387/0.298, allocations: 171.1 kB / 383.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 2.214e-06/0.298, allocations: 2.625 kB / 383.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001774/0.2998, allocations: 0.5181 MB / 384.1 MB, free: 9.223 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.2998, allocations: 112.7 kB / 384.2 MB, free: 9.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/0.3001, allocations: 272 kB / 384.5 MB, free: 8.984 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.3002, allocations: 27.23 kB / 384.5 MB, free: 8.953 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.327e-05/0.3003, allocations: 185.1 kB / 384.7 MB, free: 8.828 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.3003, allocations: 41.83 kB / 384.7 MB, free: 8.805 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.3004, allocations: 48.62 kB / 384.8 MB, free: 8.785 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.082e-05/0.3005, allocations: 338 kB / 385.1 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004161/0.3009, allocations: 92.08 kB / 385.2 MB, free: 8.461 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.3014, allocations: 193.4 kB / 385.4 MB, free: 8.336 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006142/0.302, allocations: 286.9 kB / 385.7 MB, free: 8.191 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.302, allocations: 4.875 kB / 385.7 MB, free: 8.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001059/0.3031, allocations: 409.7 kB / 386.1 MB, free: 8.051 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.3031, allocations: 37.02 kB / 386.1 MB, free: 8.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3031, allocations: 3.812 kB / 386.1 MB, free: 8.016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004169/0.3036, allocations: 93.89 kB / 386.2 MB, free: 8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.3038, allocations: 48.22 kB / 386.3 MB, free: 8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.3052, allocations: 1.571 MB / 387.8 MB, free: 6.551 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.3056, allocations: 48.36 kB / 387.9 MB, free: 6.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.3056, allocations: 9.906 kB / 387.9 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000307/0.3059, allocations: 188.4 kB / 388.1 MB, free: 6.418 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002711/0.3062, allocations: 170 kB / 388.2 MB, free: 6.273 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004813/0.3067, allocations: 262.7 kB / 388.5 MB, free: 6.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.457e-06/0.3067, allocations: 0 / 388.5 MB, free: 6.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007418/0.3074, allocations: 335.6 kB / 388.8 MB, free: 5.945 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.3075, allocations: 34.03 kB / 388.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3075, allocations: 4.203 kB / 388.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.791e-05/0.3076, allocations: 24.88 kB / 388.9 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.3078, allocations: 48.58 kB / 388.9 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008043/0.3086, allocations: 1.545 MB / 390.5 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/0.309, allocations: 48.42 kB / 390.5 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.309, allocations: 12.75 kB / 390.5 MB, free: 4.332 MB / 318.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 (23): * Single equations (assignments): 21 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.3091, allocations: 204.3 kB / 390.7 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.3092, allocations: 27.55 kB / 390.8 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/0.3092, allocations: 23.38 kB / 390.8 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3093, allocations: 0 / 390.8 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3093, allocations: 4.656 kB / 390.8 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.384e-05/0.3093, allocations: 104.8 kB / 390.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.3094, allocations: 3.016 kB / 390.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.3096, allocations: 29.73 kB / 390.9 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.3097, allocations: 24.64 kB / 391 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009451/0.3107, allocations: 352.2 kB / 391.3 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008417/0.3115, allocations: 466.1 kB / 391.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000272/0.3118, allocations: 90.19 kB / 391.8 MB, free: 3.539 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001747/0.312, allocations: 189.6 kB / 392 MB, free: 3.43 MB / 318.1 MB Notification: Performance of Backend: time 4.41e-07/0.312, allocations: 1.469 kB / 392 MB, free: 3.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.3133, allocations: 0.6763 MB / 392.7 MB, free: 2.938 MB / 318.1 MB Notification: Performance of SimCode: time 0.0009064/0.3143, allocations: 0.8924 MB / 393.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of Templates: time 0.01013/0.3244, allocations: 4.659 MB / 398.3 MB, free: 1.547 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches