Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.0008055/0.0008055, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007733/0.0007733, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8805/0.8805, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 318.5 MB, free: 6.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.655e-05, allocations: 2.281 kB / 318.5 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.002795/0.002812, allocations: 2.734 MB / 321.2 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.003883, allocations: 0.7012 MB / 321.9 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.004034, allocations: 4 kB / 321.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.004176, allocations: 51.5 kB / 322 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.004345, allocations: 107.1 kB / 322.1 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.004636, allocations: 127.7 kB / 322.2 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003708/0.005007, allocations: 430.1 kB / 322.6 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.005189, allocations: 83.67 kB / 322.7 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.005429, allocations: 231.5 kB / 322.9 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.005568, allocations: 131.6 kB / 323 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.005611, allocations: 40 kB / 323.1 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.416e-05/0.005646, allocations: 44 kB / 323.1 MB, free: 1.508 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.005697, allocations: 79.69 kB / 323.2 MB, free: 1.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.741e-05/0.005794, allocations: 123.7 kB / 323.3 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.006153, allocations: 474.5 kB / 323.8 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.006156, allocations: 0 / 323.8 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.006157, allocations: 0 / 323.8 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.006163, allocations: 0 / 323.8 MB, free: 0.8438 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009303/0.007093, allocations: 0.6046 MB / 324.4 MB, free: 212 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.00713, allocations: 8.922 kB / 324.4 MB, free: 204 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.063e-05/0.007191, allocations: 62.72 kB / 324.5 MB, free: 132 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.486e-05/0.007256, allocations: 36.75 kB / 324.5 MB, free: 96 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.007608, allocations: 245.1 kB / 324.7 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.007627, allocations: 20.88 kB / 324.8 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.007655, allocations: 36.3 kB / 324.8 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/0.00814, allocations: 374.6 kB / 325.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.008155, allocations: 192 / 325.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.008178, allocations: 16.12 kB / 325.2 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.008185, allocations: 4 kB / 325.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004643/0.008649, allocations: 281.8 kB / 325.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.00993, allocations: 1.027 MB / 326.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004676/0.0104, allocations: 242.5 kB / 326.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.01057, allocations: 100.8 kB / 326.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.01059, allocations: 4 kB / 326.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002929/0.01088, allocations: 233.2 kB / 327.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.01088, allocations: 0 / 327.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001216/0.0121, allocations: 0.5943 MB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.01217, allocations: 106.8 kB / 327.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.0124, allocations: 289.8 kB / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.01242, allocations: 37.7 kB / 328.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.01252, allocations: 204 kB / 328.3 MB, free: 12.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.01255, allocations: 47.64 kB / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.277e-05/0.01261, allocations: 45.94 kB / 328.4 MB, free: 12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.719e-05/0.0127, allocations: 334.8 kB / 328.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.01291, allocations: 137.8 kB / 328.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.01316, allocations: 294.4 kB / 329.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/0.01356, allocations: 323.2 kB / 329.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.01357, allocations: 4 kB / 329.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006959/0.01426, allocations: 0.5016 MB / 329.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.01429, allocations: 37.69 kB / 330 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.0143, allocations: 3.938 kB / 330 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002555/0.01456, allocations: 88.8 kB / 330.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.01467, allocations: 47.97 kB / 330.1 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.01639, allocations: 1.933 MB / 332 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.01658, allocations: 59.73 kB / 332.1 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.0166, allocations: 12 kB / 332.1 MB, free: 7.984 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.01671, allocations: 157.8 kB / 332.3 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.01674, allocations: 23.86 kB / 332.3 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.01676, allocations: 25.77 kB / 332.3 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01677, allocations: 4 kB / 332.3 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.01677, allocations: 0 / 332.3 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01677, allocations: 3.938 kB / 332.3 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.01696, allocations: 268.5 kB / 332.6 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.01696, allocations: 0 / 332.6 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.992e-05/0.01703, allocations: 23.97 kB / 332.6 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/0.01719, allocations: 84.8 kB / 332.7 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.0172, allocations: 0 / 332.7 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/0.01859, allocations: 1.855 MB / 334.5 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01859, allocations: 0 / 334.5 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.01914, allocations: 373.5 kB / 334.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.01918, allocations: 31.78 kB / 334.9 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.0192, allocations: 4 kB / 334.9 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.01931, allocations: 31.97 kB / 335 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/0.01937, allocations: 27.94 kB / 335 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-06/0.01938, allocations: 3.984 kB / 335 MB, free: 4.898 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001449/0.01952, allocations: 205.2 kB / 335.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01952, allocations: 0 / 335.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002975/0.01982, allocations: 75.89 kB / 335.3 MB, free: 4.621 MB / 298.7 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007951/0.02062, allocations: 0.9159 MB / 336.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008095/0.02143, allocations: 0.5112 MB / 336.7 MB, free: 3.133 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.02143, allocations: 3.938 kB / 336.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.02171, allocations: 230 kB / 336.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.02199, allocations: 52.52 kB / 337 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004281/0.02627, allocations: 3.705 MB / 340.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.552e-05/0.02636, allocations: 142.9 kB / 340.8 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.543e-05/0.02646, allocations: 34.28 kB / 340.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.746e-05/0.02656, allocations: 84.47 kB / 340.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02656, allocations: 0 / 340.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.04822, allocations: 7.678 MB / 348.6 MB, free: 7.18 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.858/7.907, allocations: 7.859 kB / 348.6 MB, free: 7.172 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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: 9.538169481791556]