Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002147/0.002147, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 51.92 kB / 373 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1082, allocations: 53.33 MB / 426.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.2025/0.3107, allocations: 6.099 MB / 432.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002963/0.3137, allocations: 1.559 MB / 434 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005877/0.3143, allocations: 18.56 kB / 434 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.3146, allocations: 173.5 kB / 434.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005583/0.3152, allocations: 295.2 kB / 434.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000807/0.316, allocations: 415.8 kB / 434.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.3172, allocations: 1.391 MB / 436.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004284/0.3176, allocations: 299.7 kB / 436.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006883/0.3183, allocations: 0.5067 MB / 437.1 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006154/0.3189, allocations: 0.5685 MB / 437.6 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.3191, allocations: 139.1 kB / 437.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.3194, allocations: 182.1 kB / 438 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.3195, allocations: 273.6 kB / 438.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004403/0.32, allocations: 0.5884 MB / 438.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.3217, allocations: 1.544 MB / 440.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3217, allocations: 0 / 440.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3217, allocations: 0 / 440.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.849e-05/0.3217, allocations: 1.031 kB / 440.4 MB, free: 5.047 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.002649/0.3243, allocations: 1.411 MB / 441.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3244, allocations: 14.03 kB / 441.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001529/0.3245, allocations: 138.4 kB / 441.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003553/0.3249, allocations: 130.1 kB / 442 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007505/0.3256, allocations: 0.5611 MB / 442.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.993e-05/0.3257, allocations: 66.12 kB / 442.7 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.3258, allocations: 89.64 kB / 442.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.3275, allocations: 0.8535 MB / 443.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.3275, allocations: 1.156 kB / 443.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-05/0.3276, allocations: 41.03 kB / 443.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.3276, allocations: 24.94 kB / 443.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.3293, allocations: 0.8569 MB / 444.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005268/0.3345, allocations: 3.22 MB / 447.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.3356, allocations: 0.6229 MB / 448.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006369/0.3362, allocations: 392.4 kB / 448.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-05/0.3363, allocations: 21.62 kB / 448.8 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.3363, allocations: 47.56 kB / 448.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.074e-06/0.3363, allocations: 0 / 448.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004737/0.341, allocations: 2.263 MB / 451.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.3411, allocations: 63.25 kB / 451.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008051/0.3419, allocations: 0.6093 MB / 451.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.684e-05/0.342, allocations: 40.98 kB / 451.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003843/0.3423, allocations: 456.2 kB / 452.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.3426, allocations: 273.4 kB / 452.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/0.3429, allocations: 148 kB / 452.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002276/0.3431, allocations: 383.2 kB / 453 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000683/0.3438, allocations: 327.1 kB / 453.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000787/0.3446, allocations: 468.6 kB / 453.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.346, allocations: 0.8079 MB / 454.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.346, allocations: 1.375 kB / 454.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002395/0.3484, allocations: 1.115 MB / 455.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.3485, allocations: 8.578 kB / 455.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3485, allocations: 4 kB / 455.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/0.349, allocations: 186 kB / 455.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000864/0.3499, allocations: 200.2 kB / 456.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004106/0.354, allocations: 2.88 MB / 459 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008103/0.3548, allocations: 42.88 kB / 459 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.3549, allocations: 27.91 kB / 459.1 MB, free: 10.24 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.000427/0.3553, allocations: 229 kB / 459.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.3554, allocations: 87.77 kB / 459.4 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.3557, allocations: 95.33 kB / 459.5 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.3557, allocations: 9.375 kB / 459.5 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.799e-05/0.3557, allocations: 2.469 kB / 459.5 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3557, allocations: 9.297 kB / 459.5 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.3569, allocations: 0.8951 MB / 460.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3569, allocations: 0 / 460.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007202/0.3576, allocations: 149.7 kB / 460.5 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005238/0.3581, allocations: 183.7 kB / 460.7 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.989e-05/0.3582, allocations: 18.73 kB / 460.7 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003831/0.362, allocations: 2.884 MB / 463.6 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.362, allocations: 0 / 463.6 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/0.3649, allocations: 1.435 MB / 465 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.3651, allocations: 143.8 kB / 465.2 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.3652, allocations: 20.39 kB / 465.2 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006344/0.3659, allocations: 53.03 kB / 465.3 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.366, allocations: 51.7 kB / 465.3 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-05/0.3661, allocations: 23.73 kB / 465.3 MB, free: 5.645 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005573/0.3666, allocations: 432.6 kB / 465.8 MB, free: 5.391 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3666, allocations: 1.469 kB / 465.8 MB, free: 5.391 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008846/0.3675, allocations: 243.2 kB / 466 MB, free: 5.359 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.003112/0.3706, allocations: 2.012 MB / 468 MB, free: 3.977 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002413/0.373, allocations: 0.9841 MB / 469 MB, free: 3.449 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.373, allocations: 1.031 kB / 469 MB, free: 3.449 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.3744, allocations: 0.6271 MB / 469.6 MB, free: 3.062 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00084/0.3752, allocations: 152 kB / 469.8 MB, free: 2.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/0.3877, allocations: 7.451 MB / 477.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/0.3884, allocations: 0.9814 MB / 478.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000465/0.3889, allocations: 90.5 kB / 478.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/0.3894, allocations: 315.3 kB / 478.6 MB, free: 11.49 MB / 382.1 MB Notification: Performance of SimCode: time 1.412e-06/0.3894, allocations: 0 / 478.6 MB, free: 11.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05581/0.4452, allocations: 19.17 MB / 497.8 MB, free: 8.586 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.48, allocations: 10.12 kB / 497.8 MB, free: 8.582 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Analog_Examples_DifferenceAmplifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Time from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! Error: Could not read variable Transistor1.ct.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Transistor1.ct.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! Error: Could not read variable Transistor1.Tr.C.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Transistor1.Tr.C.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! Error: Could not read variable Transistor2.ct.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Transistor2.ct.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! Error: Could not read variable Transistor2.Tr.C.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Transistor2.Tr.C.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.131534615007695]