Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.001818/0.001818, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002115/0.002115, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.443/1.443, allocations: 230.4 MB / 254 MB, free: 15.02 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.DifferenceAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 63.91 kB / 373 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1053, allocations: 53.37 MB / 426.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.2166/0.3219, allocations: 6.098 MB / 432.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.3244, allocations: 1.56 MB / 434 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000325/0.3247, allocations: 23.66 kB / 434.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.325, allocations: 171.5 kB / 434.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004237/0.3255, allocations: 296.2 kB / 434.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006425/0.3261, allocations: 414.7 kB / 434.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.3272, allocations: 1.392 MB / 436.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004213/0.3276, allocations: 300.5 kB / 436.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006493/0.3283, allocations: 0.5094 MB / 437.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005991/0.3289, allocations: 0.5639 MB / 437.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001783/0.329, allocations: 135.4 kB / 437.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003016/0.3293, allocations: 187.8 kB / 438 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.3295, allocations: 270.7 kB / 438.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004521/0.33, allocations: 0.5896 MB / 438.9 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.3316, allocations: 1.544 MB / 440.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3316, allocations: 1.031 kB / 440.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3316, allocations: 0 / 440.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.3316, allocations: 4.875 kB / 440.4 MB, free: 4.988 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002401/0.334, allocations: 1.414 MB / 441.8 MB, free: 4.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.3341, allocations: 9.297 kB / 441.8 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.3343, allocations: 138 kB / 442 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003416/0.3346, allocations: 135.1 kB / 442.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006659/0.3353, allocations: 0.5585 MB / 442.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/0.3353, allocations: 65.28 kB / 442.7 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.3354, allocations: 90.34 kB / 442.8 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.3371, allocations: 0.8574 MB / 443.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.3371, allocations: 0 / 443.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.267e-05/0.3372, allocations: 36.62 kB / 443.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.3372, allocations: 21.41 kB / 443.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.3388, allocations: 0.8568 MB / 444.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005077/0.3439, allocations: 3.219 MB / 447.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.3449, allocations: 0.6362 MB / 448.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006414/0.3455, allocations: 387.6 kB / 448.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.731e-05/0.3456, allocations: 21.69 kB / 448.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.3456, allocations: 40.84 kB / 448.9 MB, free: 464 kB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 1.914e-06/0.3456, allocations: 0 / 448.9 MB, free: 464 kB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004592/0.3502, allocations: 2.275 MB / 451.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.3503, allocations: 60.19 kB / 451.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007751/0.351, allocations: 0.6082 MB / 451.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.879e-05/0.3511, allocations: 37.83 kB / 451.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003348/0.3514, allocations: 457.6 kB / 452.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.3516, allocations: 272 kB / 452.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/0.3519, allocations: 147.8 kB / 452.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.3521, allocations: 384 kB / 453.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006539/0.3527, allocations: 325.5 kB / 453.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007986/0.3535, allocations: 476.4 kB / 453.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.355, allocations: 0.7996 MB / 454.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.355, allocations: 0 / 454.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002164/0.3572, allocations: 1.119 MB / 455.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.3572, allocations: 8.188 kB / 455.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.3572, allocations: 5.188 kB / 455.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006047/0.3578, allocations: 184.4 kB / 456 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008881/0.3587, allocations: 197.4 kB / 456.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003989/0.3627, allocations: 2.888 MB / 459.1 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008016/0.3635, allocations: 38.36 kB / 459.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-05/0.3635, allocations: 31.05 kB / 459.1 MB, free: 10.21 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004202/0.364, allocations: 228.3 kB / 459.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.3641, allocations: 88.33 kB / 459.4 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.3643, allocations: 102.3 kB / 459.5 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.3643, allocations: 7.375 kB / 459.5 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.887e-05/0.3643, allocations: 4.188 kB / 459.5 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.3644, allocations: 11.92 kB / 459.6 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.3655, allocations: 0.8906 MB / 460.4 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3655, allocations: 1.688 kB / 460.4 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007582/0.3663, allocations: 142.9 kB / 460.6 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005347/0.3668, allocations: 184.6 kB / 460.8 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.647e-05/0.3669, allocations: 17.8 kB / 460.8 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00372/0.3706, allocations: 2.899 MB / 463.7 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3706, allocations: 5.125 kB / 463.7 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002707/0.3733, allocations: 1.427 MB / 465.1 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/0.3735, allocations: 146.7 kB / 465.3 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.3737, allocations: 12.97 kB / 465.3 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006237/0.3743, allocations: 56.86 kB / 465.3 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.3744, allocations: 52.64 kB / 465.4 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/0.3745, allocations: 22.89 kB / 465.4 MB, free: 5.582 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005468/0.375, allocations: 429.2 kB / 465.8 MB, free: 5.332 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.375, allocations: 0 / 465.8 MB, free: 5.332 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000895/0.3759, allocations: 244.2 kB / 466.1 MB, free: 5.301 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.vcs,Transistor2.ct.v,Transistor2.Tr.vcs) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003013/0.3789, allocations: 2.001 MB / 468.1 MB, free: 3.922 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002265/0.3812, allocations: 0.9874 MB / 469 MB, free: 3.387 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3812, allocations: 1.125 kB / 469 MB, free: 3.387 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.3825, allocations: 0.626 MB / 469.7 MB, free: 3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007253/0.3832, allocations: 149.2 kB / 469.8 MB, free: 2.922 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/0.3949, allocations: 7.455 MB / 477.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/0.3955, allocations: 0.9814 MB / 478.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003937/0.3959, allocations: 89.47 kB / 478.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004378/0.3963, allocations: 323.3 kB / 478.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3963, allocations: 4 kB / 478.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05176/0.4481, allocations: 19.16 MB / 497.8 MB, free: 8.457 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.26, allocations: 10.42 kB / 497.8 MB, free: 8.449 MB / 398.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv --start-time 0 --stop-time 1e-08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9988e-12 Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! Error: Could not read variable Transistor1.ct.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Transistor1.ct.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! Error: Could not read variable Transistor1.Tr.C.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Transistor1.Tr.C.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! Error: Could not read variable Transistor2.ct.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Transistor2.ct.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! Error: Could not read variable Transistor2.Tr.C.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Transistor2.Tr.C.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.88896745396778]