Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001462/0.001462, allocations: 131.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.001643/0.001643, allocations: 211.6 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.495/1.495, 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.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002808/0.002808, allocations: 67.89 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1055, allocations: 53.38 MB / 426.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.005183/0.1106, allocations: 2.981 MB / 429.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1121, allocations: 0.744 MB / 430.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.1122, allocations: 15.94 kB / 430.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.1124, allocations: 47.5 kB / 430.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.1126, allocations: 111.1 kB / 430.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.1129, allocations: 99.88 kB / 430.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004857/0.1134, allocations: 414.3 kB / 430.8 MB, free: 212 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.1136, allocations: 91.25 kB / 430.9 MB, free: 112 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.1139, allocations: 155.5 kB / 431 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.1141, allocations: 179.2 kB / 431.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.243e-05/0.1142, allocations: 40 kB / 431.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.515e-05/0.1142, allocations: 40 kB / 431.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.726e-05/0.1143, allocations: 87.59 kB / 431.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.1145, allocations: 179.1 kB / 431.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005546/0.1151, allocations: 470.1 kB / 432 MB, free: 14.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1151, allocations: 0 / 432 MB, free: 14.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1151, allocations: 0 / 432 MB, free: 14.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1151, allocations: 0 / 432 MB, free: 14.98 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001258/0.1163, allocations: 0.6689 MB / 432.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1164, allocations: 12.03 kB / 432.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.828e-05/0.1164, allocations: 62.72 kB / 432.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.713e-05/0.1165, allocations: 32.75 kB / 432.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.117, allocations: 315.7 kB / 433.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.117, allocations: 20.94 kB / 433.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.117, allocations: 24.38 kB / 433.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006483/0.1177, allocations: 288.9 kB / 433.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1177, allocations: 0 / 433.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.1177, allocations: 12 kB / 433.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1177, allocations: 4 kB / 433.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007164/0.1185, allocations: 266 kB / 433.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.1203, allocations: 1.099 MB / 434.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006781/0.121, allocations: 206.7 kB / 435 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/0.1213, allocations: 88.8 kB / 435.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.1213, allocations: 0 / 435.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004345/0.1217, allocations: 192.1 kB / 435.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.1217, allocations: 3.938 kB / 435.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001831/0.1236, allocations: 0.5164 MB / 435.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.394e-05/0.1237, allocations: 136.5 kB / 435.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.124, allocations: 282.7 kB / 436.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.124, allocations: 33.7 kB / 436.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.1242, allocations: 208 kB / 436.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.1242, allocations: 55.53 kB / 436.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.1243, allocations: 53.66 kB / 436.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1245, allocations: 334.8 kB / 436.9 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.1248, allocations: 95.94 kB / 437 MB, free: 9.715 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.1252, allocations: 200.7 kB / 437.2 MB, free: 9.473 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006484/0.1259, allocations: 294.5 kB / 437.4 MB, free: 9.145 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1259, allocations: 0 / 437.4 MB, free: 9.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001044/0.1269, allocations: 415.6 kB / 437.8 MB, free: 8.723 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.1269, allocations: 34.03 kB / 437.9 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.127, allocations: 11.94 kB / 437.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003775/0.1273, allocations: 72.8 kB / 438 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.1276, allocations: 51.89 kB / 438 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/0.1301, allocations: 1.98 MB / 440 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.1305, allocations: 51.88 kB / 440 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.1305, allocations: 12 kB / 440.1 MB, free: 6.363 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 (buffer.opAmp.satNeg,buffer.opAmp.satPos,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 (25): * Single equations (assignments): 23 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.1307, allocations: 156.4 kB / 440.2 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.1307, allocations: 31.8 kB / 440.2 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.043e-05/0.1308, allocations: 26.19 kB / 440.3 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1308, allocations: 3.984 kB / 440.3 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.1308, allocations: 3.938 kB / 440.3 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1308, allocations: 0 / 440.3 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.1311, allocations: 333.4 kB / 440.6 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1311, allocations: 0 / 440.6 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.1313, allocations: 27.97 kB / 440.6 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000298/0.1316, allocations: 73.05 kB / 440.7 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.1316, allocations: 4 kB / 440.7 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/0.1339, allocations: 1.972 MB / 442.7 MB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1339, allocations: 0 / 442.7 MB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/0.1348, allocations: 323.1 kB / 443 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.95e-05/0.1348, allocations: 108.9 kB / 443.1 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.1349, allocations: 4 kB / 443.1 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.1351, allocations: 31.97 kB / 443.1 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.1352, allocations: 23.97 kB / 443.2 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.1352, allocations: 8.234 kB / 443.2 MB, free: 3.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.1354, allocations: 198 kB / 443.4 MB, free: 2.812 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1354, allocations: 3.938 kB / 443.4 MB, free: 2.809 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004307/0.1359, allocations: 91.78 kB / 443.4 MB, free: 2.719 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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,buffer.opAmp.satPos,buffer.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001231/0.1371, allocations: 0.8628 MB / 444.3 MB, free: 1.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009668/0.1381, allocations: 411.6 kB / 444.7 MB, free: 1.395 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1381, allocations: 4.062 kB / 444.7 MB, free: 1.391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004861/0.1386, allocations: 230.5 kB / 444.9 MB, free: 1.152 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.1389, allocations: 66.27 kB / 445 MB, free: 1.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2541/0.393, allocations: 3.118 MB / 448.1 MB, free: 22.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.3932, allocations: 0.7631 MB / 448.9 MB, free: 22.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.3933, allocations: 24.09 kB / 448.9 MB, free: 22.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.3935, allocations: 88.48 kB / 449 MB, free: 22.02 MB / 366.1 MB Notification: Performance of SimCode: time 1.503e-06/0.3935, allocations: 0 / 449 MB, free: 22.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03553/0.429, allocations: 7.237 MB / 456.2 MB, free: 21.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.37, allocations: 11.23 kB / 456.2 MB, free: 21.44 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_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_NonInvertingAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable buffer.opAmp.out.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv. Warning: Get data of variable buffer.opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv failed! Error: Could not read variable buffer.opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv. Warning: Get data of variable buffer.opAmp.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.969521908904426]