Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001424/0.001424, allocations: 204.6 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 230.5 MB / 257.4 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002999/0.002999, allocations: 63.89 kB / 377.8 MB, free: 2.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2808, allocations: 53.41 MB / 431.2 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008577/0.2893, allocations: 6.955 MB / 438.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003507/0.2928, allocations: 1.784 MB / 439.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005859/0.2934, allocations: 35.81 kB / 440 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005383/0.294, allocations: 237.6 kB / 440.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008946/0.2949, allocations: 480.1 kB / 440.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007036/0.2956, allocations: 423.5 kB / 441.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001881/0.2974, allocations: 1.786 MB / 442.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006965/0.2981, allocations: 412.5 kB / 443.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007228/0.2989, allocations: 0.6655 MB / 443.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007912/0.2997, allocations: 0.6256 MB / 444.6 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000226/0.2999, allocations: 184 kB / 444.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002609/0.3001, allocations: 180 kB / 444.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002949/0.3004, allocations: 370.7 kB / 445.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006526/0.3011, allocations: 0.6455 MB / 445.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.3032, allocations: 2.125 MB / 448 MB, free: 5.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.3032, allocations: 4 kB / 448 MB, free: 5.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3032, allocations: 3.938 kB / 448.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.958e-05/0.3032, allocations: 0 / 448.1 MB, free: 5.465 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00296/0.3062, allocations: 1.685 MB / 449.7 MB, free: 3.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3062, allocations: 11.98 kB / 449.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002258/0.3065, allocations: 198.4 kB / 449.9 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002399/0.3067, allocations: 168 kB / 450.1 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.308, allocations: 0.7379 MB / 450.8 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.008e-05/0.3081, allocations: 98.56 kB / 450.9 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.3083, allocations: 128 kB / 451.1 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.3106, allocations: 1.712 MB / 452.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.3107, allocations: 3.984 kB / 452.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.3108, allocations: 60 kB / 452.8 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/0.3108, allocations: 28 kB / 452.9 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.3127, allocations: 1.013 MB / 453.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007084/0.3198, allocations: 3.983 MB / 457.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.3212, allocations: 0.8332 MB / 458.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008117/0.322, allocations: 432 kB / 459.1 MB, free: 9.977 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-05/0.322, allocations: 16.98 kB / 459.1 MB, free: 9.961 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/0.3221, allocations: 47.56 kB / 459.2 MB, free: 9.902 MB / 366.1 MB Notification: Performance of pre-optimization done (n=94): time 2.835e-06/0.3221, allocations: 0 / 459.2 MB, free: 9.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.005108/0.3272, allocations: 1.722 MB / 460.9 MB, free: 8.156 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.3273, allocations: 90.05 kB / 461 MB, free: 8.051 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.3285, allocations: 0.8214 MB / 461.8 MB, free: 7.223 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.62e-05/0.3285, allocations: 45.7 kB / 461.9 MB, free: 7.172 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004838/0.329, allocations: 0.6018 MB / 462.5 MB, free: 6.562 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000296/0.3293, allocations: 333.1 kB / 462.8 MB, free: 6.234 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000293/0.3296, allocations: 186.9 kB / 463 MB, free: 6.043 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3298, allocations: 341.9 kB / 463.3 MB, free: 5.703 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000573/0.3304, allocations: 302.5 kB / 463.6 MB, free: 5.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000785/0.3311, allocations: 0.4986 MB / 464.1 MB, free: 4.832 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.3325, allocations: 0.8204 MB / 464.9 MB, free: 3.941 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.3325, allocations: 4 kB / 464.9 MB, free: 3.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002805/0.3353, allocations: 1.314 MB / 466.2 MB, free: 2.598 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.3353, allocations: 4 kB / 466.2 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.3353, allocations: 12.16 kB / 466.3 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.3368, allocations: 396.7 kB / 466.6 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007528/0.3375, allocations: 199.7 kB / 466.8 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/0.3498, allocations: 10.13 MB / 477 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009818/0.3508, allocations: 119.2 kB / 477.1 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.699e-05/0.3508, allocations: 40 kB / 477.1 MB, free: 6.977 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 10 (firstOrder2A.opAmp.satNeg,firstOrder2A.opAmp.satPos,addA.opAmp.satNeg,addA.opAmp.satPos,firstOrder1A.opAmp.satNeg,firstOrder1A.opAmp.satPos,PIA.opAmp.satNeg,PIA.opAmp.satPos,feedbackA.opAmp.satNeg,feedbackA.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005261/0.3514, allocations: 293.9 kB / 477.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.3516, allocations: 115.3 kB / 477.5 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.3518, allocations: 114.4 kB / 477.6 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.3518, allocations: 12 kB / 477.6 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.3518, allocations: 0 / 477.6 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.3518, allocations: 7.922 kB / 477.7 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00383/0.3556, allocations: 2.068 MB / 479.7 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3556, allocations: 0 / 479.7 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005295/0.3562, allocations: 115.9 kB / 479.8 MB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/0.3575, allocations: 397.1 kB / 480.2 MB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.197e-05/0.3575, allocations: 27.92 kB / 480.2 MB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/0.3685, allocations: 10.16 MB / 490.4 MB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.3685, allocations: 4.031 kB / 490.4 MB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/0.3715, allocations: 1.635 MB / 492 MB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.3718, allocations: 119.2 kB / 492.2 MB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.3719, allocations: 36.19 kB / 492.2 MB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007113/0.3726, allocations: 83.94 kB / 492.3 MB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.3728, allocations: 88.83 kB / 492.4 MB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.274e-05/0.3729, allocations: 31.94 kB / 492.4 MB, free: 6.828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007378/0.3736, allocations: 0.5459 MB / 492.9 MB, free: 6.289 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3736, allocations: 4 kB / 492.9 MB, free: 6.285 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001263/0.3749, allocations: 391.2 kB / 493.3 MB, free: 5.902 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * Number of discrete variables: 10 (feedbackA.opAmp.satPos,feedbackA.opAmp.satNeg,PIA.opAmp.satPos,PIA.opAmp.satNeg,firstOrder1A.opAmp.satPos,firstOrder1A.opAmp.satNeg,addA.opAmp.satPos,addA.opAmp.satNeg,firstOrder2A.opAmp.satPos,firstOrder2A.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00339/0.3782, allocations: 2.226 MB / 495.6 MB, free: 3.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002304/0.3805, allocations: 1.513 MB / 497.1 MB, free: 2.043 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.3806, allocations: 4 kB / 497.1 MB, free: 2.039 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.3821, allocations: 1.162 MB / 498.2 MB, free: 0.7969 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.3831, allocations: 223.2 kB / 498.5 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/0.3982, allocations: 9.08 MB / 0.4956 GB, free: 7.191 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/0.3988, allocations: 0.5138 MB / 0.4961 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004766/0.3993, allocations: 107.9 kB / 0.4962 GB, free: 6.531 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005773/0.3998, allocations: 463.3 kB / 0.4967 GB, free: 6.078 MB / 414.1 MB Notification: Performance of SimCode: time 1.412e-06/0.3998, allocations: 0 / 0.4967 GB, free: 6.078 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08152/0.4814, allocations: 27.36 MB / 0.5234 GB, free: 11.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.38, allocations: 0 / 0.5234 GB, free: 11.03 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable firstOrder2B.y in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv. Warning: Get data of variable firstOrder2B.y from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv failed! Error: Could not read variable addA.opAmp.v_out in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv. Warning: Get data of variable addA.opAmp.v_out from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv failed! Error: Could not read variable addB.y in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv. Warning: Get data of variable addB.y from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.15258515207097]