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.00174/0.00174, allocations: 119.4 kB / 18.41 MB, free: 4.613 MB / 14.72 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.001914/0.001915, allocations: 192.3 kB / 21.35 MB, free: 1.684 MB / 14.72 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 1.563/1.563, allocations: 222.9 MB / 247.1 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 51.92 kB / 358.7 MB, free: 8.305 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1032, allocations: 49.44 MB / 408.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.005653/0.1089, allocations: 2.929 MB / 411.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.1108, allocations: 0.7246 MB / 411.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003765/0.1112, allocations: 7.938 kB / 411.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.1116, allocations: 51.56 kB / 411.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.1119, allocations: 103.1 kB / 411.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.1123, allocations: 115.8 kB / 412.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006109/0.1129, allocations: 422.4 kB / 412.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/0.1132, allocations: 127.2 kB / 412.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.1135, allocations: 155.4 kB / 412.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.1138, allocations: 171.2 kB / 412.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.536e-05/0.1139, allocations: 40 kB / 413 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.407e-05/0.114, allocations: 40 kB / 413 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.286e-05/0.1141, allocations: 83.69 kB / 413.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.1143, allocations: 171.2 kB / 413.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006261/0.1149, allocations: 454.3 kB / 413.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.115, allocations: 8 kB / 413.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.115, allocations: 0 / 413.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.029e-05/0.115, allocations: 0 / 413.7 MB, free: 1.223 MB / 334.1 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.001557/0.1166, allocations: 0.6767 MB / 414.4 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1166, allocations: 15.89 kB / 414.4 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.67e-05/0.1167, allocations: 36.69 kB / 414.4 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.1172, allocations: 299.8 kB / 414.7 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.1172, allocations: 20.94 kB / 414.7 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/0.1173, allocations: 24.36 kB / 414.8 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008101/0.1181, allocations: 339.9 kB / 415.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1181, allocations: 0 / 415.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.1182, allocations: 8 kB / 415.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.1182, allocations: 4 kB / 415.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008716/0.1191, allocations: 286.1 kB / 415.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.1211, allocations: 1.158 MB / 416.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009049/0.122, allocations: 250.5 kB / 416.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003748/0.1224, allocations: 104.8 kB / 416.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.1224, allocations: 4 kB / 416.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005322/0.123, allocations: 177.9 kB / 417.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.123, allocations: 0 / 417.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002581/0.1256, allocations: 0.6669 MB / 417.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.24e-05/0.1257, allocations: 106.8 kB / 417.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.126, allocations: 290.6 kB / 418.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.1261, allocations: 33.7 kB / 418.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.1263, allocations: 204 kB / 418.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.1263, allocations: 43.64 kB / 418.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.1264, allocations: 49.94 kB / 418.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1266, allocations: 331 kB / 418.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004113/0.127, allocations: 116.1 kB / 418.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/0.1275, allocations: 221.9 kB / 419.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008129/0.1283, allocations: 318.9 kB / 419.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1283, allocations: 0 / 419.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001408/0.1298, allocations: 487.7 kB / 419.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.306e-05/0.1298, allocations: 33.7 kB / 419.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.1298, allocations: 7.984 kB / 419.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004032/0.1303, allocations: 80.88 kB / 420 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.1305, allocations: 51.89 kB / 420.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003374/0.1339, allocations: 2.056 MB / 422.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/0.1343, allocations: 59.8 kB / 422.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.1343, allocations: 16 kB / 422.2 MB, free: 8.176 MB / 350.1 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.0001912/0.1345, allocations: 149.7 kB / 422.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.1346, allocations: 27.81 kB / 422.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.629e-05/0.1346, allocations: 25.83 kB / 422.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.1347, allocations: 4 kB / 422.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1347, allocations: 4.125 kB / 422.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1347, allocations: 0 / 422.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.1351, allocations: 337.3 kB / 422.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1351, allocations: 0 / 422.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.1352, allocations: 27.91 kB / 422.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003195/0.1355, allocations: 84.8 kB / 422.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.1356, allocations: 0 / 422.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002854/0.1384, allocations: 1.978 MB / 424.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1385, allocations: 0 / 424.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.1396, allocations: 372.9 kB / 425.2 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.1398, allocations: 108.9 kB / 425.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.1398, allocations: 4 kB / 425.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.1401, allocations: 36.03 kB / 425.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.1402, allocations: 31.91 kB / 425.4 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.1402, allocations: 4 kB / 425.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002364/0.1404, allocations: 202 kB / 425.6 MB, free: 4.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1404, allocations: 0 / 425.6 MB, free: 4.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004608/0.1409, allocations: 83.84 kB / 425.6 MB, free: 4.484 MB / 350.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: 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.0001478/0.1411, allocations: 99.25 kB / 425.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001488/0.1426, allocations: 0.4939 MB / 426.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1426, allocations: 0 / 426.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005521/0.1431, allocations: 235.2 kB / 426.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.1435, allocations: 46.5 kB / 426.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.1469, allocations: 0.9617 MB / 427.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.1473, allocations: 0.7596 MB / 428.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.836e-05/0.1474, allocations: 19.44 kB / 428.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1474, allocations: 4 kB / 428.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of Templates: time 0.188/0.3354, allocations: 4.787 MB / 433 MB, free: 22 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.418145116069354]