Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.001612/0.001612, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.001989/0.001989, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.59/1.59, allocations: 230.5 MB / 254 MB, free: 15.17 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.Subtracter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Subtracter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Subtracter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002517/0.002517, allocations: 59.91 kB / 373 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1378, allocations: 53.37 MB / 426.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.005515/0.1433, allocations: 3.41 MB / 429.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.1453, allocations: 0.8532 MB / 430.7 MB, free: 400 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004285/0.1458, allocations: 11.94 kB / 430.7 MB, free: 388 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.1461, allocations: 67.36 kB / 430.7 MB, free: 320 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004896/0.1466, allocations: 130.9 kB / 430.9 MB, free: 188 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.147, allocations: 127.8 kB / 431 MB, free: 60 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2336/0.3806, allocations: 0.4929 MB / 431.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/0.3809, allocations: 126.9 kB / 431.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004059/0.3813, allocations: 196.5 kB / 431.8 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.3815, allocations: 203.7 kB / 432 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.655e-05/0.3816, allocations: 49.12 kB / 432 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.3817, allocations: 55.59 kB / 432.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.3818, allocations: 99.67 kB / 432.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.382, allocations: 223.8 kB / 432.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005691/0.3825, allocations: 0.5809 MB / 433 MB, free: 7.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3826, allocations: 0 / 433 MB, free: 7.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3826, allocations: 0 / 433 MB, free: 7.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3826, allocations: 3.75 kB / 433 MB, free: 7.469 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009737/0.3835, allocations: 0.701 MB / 433.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.3836, allocations: 9.969 kB / 433.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.746e-05/0.3837, allocations: 75.77 kB / 433.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002259/0.3839, allocations: 56.03 kB / 433.8 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004539/0.3843, allocations: 334.8 kB / 434.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.3844, allocations: 28.66 kB / 434.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.3844, allocations: 35.84 kB / 434.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005976/0.385, allocations: 339.2 kB / 434.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.385, allocations: 0.75 kB / 434.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.3851, allocations: 17.06 kB / 434.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.3851, allocations: 10.09 kB / 434.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005341/0.3856, allocations: 275.5 kB / 434.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.3878, allocations: 1.39 MB / 436.2 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.3883, allocations: 185.8 kB / 436.4 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.3884, allocations: 83.56 kB / 436.5 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.3884, allocations: 1.156 kB / 436.5 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.3884, allocations: 37.66 kB / 436.5 MB, free: 5.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.774e-06/0.3885, allocations: 0 / 436.5 MB, free: 5.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001511/0.39, allocations: 0.5946 MB / 437.1 MB, free: 5.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.39, allocations: 61.62 kB / 437.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.3903, allocations: 318.7 kB / 437.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.3903, allocations: 31.17 kB / 437.5 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.3905, allocations: 228.7 kB / 437.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.3905, allocations: 70.56 kB / 437.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.559e-05/0.3906, allocations: 52.55 kB / 437.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.219e-05/0.3907, allocations: 338.7 kB / 438.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.3908, allocations: 70.8 kB / 438.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.391, allocations: 148.7 kB / 438.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.3913, allocations: 222.1 kB / 438.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.3913, allocations: 1.219 kB / 438.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000814/0.3922, allocations: 364.5 kB / 439 MB, free: 4.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.3922, allocations: 9.328 kB / 439 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.3922, allocations: 7.938 kB / 439 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005126/0.3927, allocations: 107.8 kB / 439.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.3929, allocations: 40.64 kB / 439.2 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003365/0.3963, allocations: 3.472 MB / 442.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/0.3965, allocations: 35.72 kB / 442.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.3966, allocations: 8.875 kB / 442.7 MB, free: 1.035 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (feedback.opAmp.satNeg,feedback.opAmp.satPos) * 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: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002092/0.3968, allocations: 157.2 kB / 442.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/0.3968, allocations: 39.62 kB / 442.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.345e-05/0.3969, allocations: 28.91 kB / 442.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3969, allocations: 2.375 kB / 442.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3969, allocations: 3.969 kB / 442.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3969, allocations: 2.547 kB / 442.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.3974, allocations: 375.7 kB / 443.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3974, allocations: 0 / 443.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.382e-05/0.3975, allocations: 22.48 kB / 443.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003579/0.3978, allocations: 103.4 kB / 443.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.3978, allocations: 5.812 kB / 443.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003994/0.4018, allocations: 3.474 MB / 446.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4018, allocations: 0.5 kB / 446.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008388/0.4027, allocations: 379.3 kB / 447.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.4028, allocations: 111.1 kB / 447.4 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.4028, allocations: 2.906 kB / 447.4 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.403, allocations: 24.67 kB / 447.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/0.4031, allocations: 21.34 kB / 447.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.4031, allocations: 4.938 kB / 447.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003038/0.4034, allocations: 225.6 kB / 447.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4034, allocations: 0 / 447.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005665/0.404, allocations: 107.5 kB / 447.7 MB, free: 12.83 MB / 366.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: 2 (feedback.opAmp.satPos,feedback.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001075/0.4051, allocations: 0.918 MB / 448.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007722/0.4058, allocations: 436.6 kB / 449.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4058, allocations: 5.156 kB / 449.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000444/0.4063, allocations: 339.5 kB / 449.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.4067, allocations: 60.5 kB / 449.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004755/0.4114, allocations: 3.135 MB / 452.6 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.4119, allocations: 0.789 MB / 453.4 MB, free: 8.707 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.4121, allocations: 26.48 kB / 453.4 MB, free: 8.703 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.4122, allocations: 106.7 kB / 453.5 MB, free: 8.621 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4122, allocations: 0 / 453.5 MB, free: 8.621 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04064/0.4529, allocations: 7.542 MB / 461.1 MB, free: 6.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.85, allocations: 11.83 kB / 461.1 MB, free: 6.641 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_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_Subtracter.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable vOut.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.csv. Warning: Get data of variable vOut.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.49004921503365]