Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 105.8 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 185 kB / 23.72 MB, free: 4.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 43.92 kB / 370.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.259, allocations: 52.19 MB / 422.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004083/0.2631, allocations: 2.759 MB / 425.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.2643, allocations: 0.6816 MB / 426.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.2645, allocations: 11.94 kB / 426.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.2646, allocations: 43.56 kB / 426.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.2648, allocations: 91.25 kB / 426.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.2651, allocations: 95.81 kB / 426.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003975/0.2655, allocations: 350.6 kB / 426.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.2656, allocations: 60.89 kB / 426.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.2658, allocations: 135.4 kB / 426.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.266, allocations: 147.4 kB / 427 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.516e-05/0.2661, allocations: 32 kB / 427 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.61e-05/0.2661, allocations: 28 kB / 427.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.743e-05/0.2662, allocations: 67.75 kB / 427.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.2663, allocations: 143.2 kB / 427.3 MB, free: 9.965 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.2667, allocations: 323.1 kB / 427.6 MB, free: 9.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2667, allocations: 0 / 427.6 MB, free: 9.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2667, allocations: 0 / 427.6 MB, free: 9.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.2667, allocations: 0 / 427.6 MB, free: 9.652 MB / 334.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.001206/0.2679, allocations: 0.5702 MB / 428.2 MB, free: 9.047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2679, allocations: 8.031 kB / 428.2 MB, free: 9.039 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.347e-05/0.268, allocations: 58.67 kB / 428.2 MB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.581e-05/0.2681, allocations: 36.75 kB / 428.3 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.2684, allocations: 214 kB / 428.5 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.2685, allocations: 12.81 kB / 428.5 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.2685, allocations: 20.38 kB / 428.5 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006561/0.2692, allocations: 285.9 kB / 428.8 MB, free: 8.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2692, allocations: 0 / 428.8 MB, free: 8.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.2692, allocations: 8 kB / 428.8 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.2692, allocations: 4 kB / 428.8 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007257/0.2699, allocations: 249.5 kB / 429 MB, free: 8.121 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.2715, allocations: 0.8601 MB / 429.9 MB, free: 7.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.273, allocations: 366.2 kB / 430.3 MB, free: 6.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.2732, allocations: 84.73 kB / 430.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.2733, allocations: 0 / 430.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004359/0.2737, allocations: 169.8 kB / 430.5 MB, free: 6.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 3.407e-06/0.2737, allocations: 4.031 kB / 430.5 MB, free: 6.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.001908/0.2756, allocations: 0.498 MB / 431 MB, free: 6.047 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.2757, allocations: 110.8 kB / 431.1 MB, free: 5.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.276, allocations: 269.9 kB / 431.4 MB, free: 5.637 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.276, allocations: 29.7 kB / 431.4 MB, free: 5.602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.2762, allocations: 195.9 kB / 431.6 MB, free: 5.406 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.2762, allocations: 31.73 kB / 431.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.734e-05/0.2763, allocations: 53.66 kB / 431.7 MB, free: 5.316 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2765, allocations: 334.8 kB / 432 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.2768, allocations: 95.92 kB / 432.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/0.2772, allocations: 205.5 kB / 432.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006858/0.2779, allocations: 304.6 kB / 432.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2779, allocations: 4 kB / 432.6 MB, free: 4.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001135/0.279, allocations: 419.9 kB / 433 MB, free: 3.863 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/0.2791, allocations: 37.77 kB / 433.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.2791, allocations: 4 kB / 433.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000307/0.2794, allocations: 60.81 kB / 433.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.2796, allocations: 51.89 kB / 433.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.2817, allocations: 1.502 MB / 434.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.2821, allocations: 59.73 kB / 434.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.2821, allocations: 12 kB / 434.7 MB, free: 2.016 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.2822, allocations: 149 kB / 434.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.2823, allocations: 23.8 kB / 434.9 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/0.2823, allocations: 25.7 kB / 434.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.2823, allocations: 0 / 434.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.2823, allocations: 0 / 434.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2823, allocations: 0 / 434.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.2836, allocations: 0.6153 MB / 435.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2836, allocations: 0 / 435.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.2838, allocations: 27.97 kB / 435.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002059/0.284, allocations: 60.75 kB / 435.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.284, allocations: 4 kB / 435.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/0.2861, allocations: 1.495 MB / 437.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.2861, allocations: 7.969 kB / 437.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009996/0.2871, allocations: 395.9 kB / 437.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.2872, allocations: 23.8 kB / 437.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.2872, allocations: 4 kB / 437.6 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.2875, allocations: 35.95 kB / 437.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.2875, allocations: 15.97 kB / 437.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.2876, allocations: 8 kB / 437.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002099/0.2878, allocations: 185.2 kB / 437.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2878, allocations: 0 / 437.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003616/0.2881, allocations: 63.95 kB / 437.9 MB, free: 14.7 MB / 350.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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001387/0.2895, allocations: 0.9279 MB / 438.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009399/0.2904, allocations: 393.9 kB / 439.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2905, allocations: 4 kB / 439.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004214/0.2909, allocations: 203.2 kB / 439.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.2913, allocations: 45.25 kB / 439.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005067/0.2963, allocations: 2.994 MB / 442.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.2967, allocations: 0.7365 MB / 443.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.2968, allocations: 34.27 kB / 443.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.2969, allocations: 75.41 kB / 443.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2969, allocations: 7.875 kB / 443.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04918/0.3461, allocations: 6.21 MB / 449.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.87, allocations: 11.53 kB / 449.5 MB, free: 2.988 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.18926142086275]