Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009286/0.0009286, allocations: 176.2 kB / 16.41 MB, free: 5.727 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.496/1.496, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008119/0.0008125, allocations: 93.33 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003742, allocations: 12 kB / 327 MB, free: 184 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2739, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002813/0.2768, allocations: 2.285 MB / 376.8 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.2779, allocations: 0.6931 MB / 377.5 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.278, allocations: 7.094 kB / 377.5 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.2782, allocations: 27.98 kB / 377.6 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.2783, allocations: 76.31 kB / 377.6 MB, free: 42.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.2786, allocations: 70.22 kB / 377.7 MB, free: 42.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.2789, allocations: 312.2 kB / 378 MB, free: 42.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.2791, allocations: 69.23 kB / 378.1 MB, free: 42.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.2793, allocations: 107.6 kB / 378.2 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.2795, allocations: 135.4 kB / 378.3 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.536e-05/0.2795, allocations: 14.69 kB / 378.3 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.209e-05/0.2796, allocations: 15.28 kB / 378.4 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.2796, allocations: 45.98 kB / 378.4 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.586e-05/0.2797, allocations: 69.61 kB / 378.5 MB, free: 42.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.28, allocations: 240.2 kB / 378.7 MB, free: 42.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.28, allocations: 0 / 378.7 MB, free: 42.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.28, allocations: 1.156 kB / 378.7 MB, free: 42.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.28, allocations: 0 / 378.7 MB, free: 42.27 MB / 298.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.001129/0.2811, allocations: 0.6151 MB / 379.3 MB, free: 41.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.2812, allocations: 8.719 kB / 379.3 MB, free: 41.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.601e-05/0.2813, allocations: 27.03 kB / 379.4 MB, free: 41.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.2816, allocations: 265.4 kB / 379.6 MB, free: 41.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.2816, allocations: 13.34 kB / 379.6 MB, free: 41.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.399e-05/0.2817, allocations: 21.66 kB / 379.6 MB, free: 41.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006263/0.2823, allocations: 266.1 kB / 379.9 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.2823, allocations: 0 / 379.9 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.2824, allocations: 10.25 kB / 379.9 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.2824, allocations: 4.469 kB / 379.9 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008344/0.2832, allocations: 292.1 kB / 380.2 MB, free: 41.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.2846, allocations: 0.8401 MB / 381 MB, free: 40.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006753/0.2853, allocations: 323.4 kB / 381.4 MB, free: 40.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.2856, allocations: 102.3 kB / 381.5 MB, free: 40.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.2857, allocations: 9.234 kB / 381.5 MB, free: 40.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004663/0.2861, allocations: 173.5 kB / 381.6 MB, free: 40.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.833e-06/0.2861, allocations: 0 / 381.6 MB, free: 40.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.001888/0.288, allocations: 0.6417 MB / 382.3 MB, free: 39.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.2881, allocations: 108.2 kB / 382.4 MB, free: 39.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.2884, allocations: 265.1 kB / 382.6 MB, free: 39.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.2884, allocations: 32.61 kB / 382.7 MB, free: 39.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.2886, allocations: 186 kB / 382.9 MB, free: 39.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.2886, allocations: 29 kB / 382.9 MB, free: 39.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.286e-05/0.2886, allocations: 5.5 kB / 382.9 MB, free: 39.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.2887, allocations: 336.1 kB / 383.2 MB, free: 38.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.2891, allocations: 105.4 kB / 383.3 MB, free: 38.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.2895, allocations: 208.7 kB / 383.5 MB, free: 38.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.2898, allocations: 140.5 kB / 383.7 MB, free: 38.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2899, allocations: 1.094 kB / 383.7 MB, free: 38.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001197/0.2911, allocations: 471.3 kB / 384.1 MB, free: 38.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.2912, allocations: 200.6 kB / 384.3 MB, free: 38.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.2912, allocations: 8.141 kB / 384.3 MB, free: 38.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003116/0.2915, allocations: 63.44 kB / 384.4 MB, free: 38.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.2918, allocations: 52.69 kB / 384.4 MB, free: 38.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.2933, allocations: 1.499 MB / 385.9 MB, free: 36.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.2937, allocations: 60.84 kB / 386 MB, free: 36.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.2938, allocations: 16.2 kB / 386 MB, free: 36.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.2938, allocations: 3.781 kB / 386 MB, free: 36.56 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007273/0.2945, allocations: 312.2 kB / 386.3 MB, free: 36.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2945, allocations: 2.469 kB / 386.3 MB, free: 36.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.737e-05/0.2946, allocations: 34.73 kB / 386.4 MB, free: 36.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.2948, allocations: 64.73 kB / 386.4 MB, free: 36.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006902/0.2955, allocations: 1.384 MB / 387.8 MB, free: 34.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.2958, allocations: 51.81 kB / 387.9 MB, free: 34.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.2959, allocations: 8 kB / 387.9 MB, free: 34.82 MB / 298.7 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001775/0.296, allocations: 224.9 kB / 388.1 MB, free: 34.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.2961, allocations: 23.77 kB / 388.1 MB, free: 34.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.76e-05/0.2961, allocations: 25.7 kB / 388.1 MB, free: 34.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2961, allocations: 0 / 388.1 MB, free: 34.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2961, allocations: 0 / 388.1 MB, free: 34.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2962, allocations: 0 / 388.1 MB, free: 34.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009867/0.2971, allocations: 0.6595 MB / 388.8 MB, free: 33.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2972, allocations: 0 / 388.8 MB, free: 33.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.2973, allocations: 27.98 kB / 388.8 MB, free: 33.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001472/0.2975, allocations: 60.89 kB / 388.9 MB, free: 33.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.2975, allocations: 4 kB / 388.9 MB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.2986, allocations: 1.48 MB / 390.4 MB, free: 32.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2986, allocations: 0 / 390.4 MB, free: 32.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007559/0.2994, allocations: 411.9 kB / 390.8 MB, free: 31.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.2995, allocations: 108.8 kB / 390.9 MB, free: 31.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.2995, allocations: 4 kB / 390.9 MB, free: 31.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.2998, allocations: 43.92 kB / 390.9 MB, free: 31.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/0.2998, allocations: 15.97 kB / 390.9 MB, free: 31.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.2999, allocations: 4 kB / 390.9 MB, free: 31.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.3, allocations: 194 kB / 391.1 MB, free: 31.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3, allocations: 0 / 391.1 MB, free: 31.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005368/0.3006, allocations: 107.8 kB / 391.2 MB, free: 31.21 MB / 298.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) * 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 (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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001382/0.3007, allocations: 107.2 kB / 391.3 MB, free: 31.1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.3019, allocations: 0.7113 MB / 392.1 MB, free: 30.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3019, allocations: 0 / 392.1 MB, free: 30.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003613/0.3023, allocations: 223.3 kB / 392.3 MB, free: 30.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.3027, allocations: 49.47 kB / 392.3 MB, free: 30.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009035/0.3036, allocations: 0.5523 MB / 392.9 MB, free: 29.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.3038, allocations: 0.7404 MB / 393.6 MB, free: 28.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.629e-05/0.3039, allocations: 23.44 kB / 393.6 MB, free: 28.69 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3039, allocations: 4 kB / 393.6 MB, free: 28.69 MB / 298.7 MB Notification: Performance of Templates: time 0.005479/0.3093, allocations: 4.128 MB / 397.8 MB, free: 24.57 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches