Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001903/0.001903, allocations: 71.12 kB / 21.24 MB, free: 0.5469 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.002151/0.002151, allocations: 158.9 kB / 24.5 MB, free: 3.719 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.484/1.484, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.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: 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.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 59.86 kB / 325.6 MB, free: 236 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09999/0.1016, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004173/0.1058, allocations: 2.753 MB / 381.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.1072, allocations: 0.7285 MB / 382.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.1073, allocations: 7.938 kB / 382.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.1075, allocations: 51.5 kB / 382.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.1077, allocations: 103.2 kB / 382.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.108, allocations: 119.8 kB / 382.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004704/0.1085, allocations: 422.4 kB / 383.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.1087, allocations: 87.59 kB / 383.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.1089, allocations: 155.5 kB / 383.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.1091, allocations: 151.2 kB / 383.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.736e-05/0.1091, allocations: 44 kB / 383.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.95e-05/0.1092, allocations: 40 kB / 383.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.451e-05/0.1093, allocations: 83.69 kB / 383.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.1095, allocations: 143.3 kB / 383.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000491/0.11, allocations: 454.3 kB / 384.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.11, allocations: 4 kB / 384.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.11, allocations: 0 / 384.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.11, allocations: 4 kB / 384.2 MB, free: 10.3 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001303/0.1113, allocations: 0.6092 MB / 384.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.1113, allocations: 12.03 kB / 384.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.463e-05/0.1114, allocations: 36.7 kB / 384.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.1118, allocations: 241.9 kB / 385.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.1118, allocations: 16.88 kB / 385.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.1119, allocations: 28.38 kB / 385.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00078/0.1127, allocations: 386.4 kB / 385.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1127, allocations: 0 / 385.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.1127, allocations: 12 kB / 385.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.1127, allocations: 8 kB / 385.6 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008614/0.1136, allocations: 289.8 kB / 385.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.1154, allocations: 0.9804 MB / 386.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008698/0.1163, allocations: 230.6 kB / 387.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/0.1166, allocations: 101 kB / 387.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.1167, allocations: 7.938 kB / 387.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000512/0.1172, allocations: 233.2 kB / 387.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.1172, allocations: 4 kB / 387.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002431/0.1196, allocations: 0.5915 MB / 388 MB, free: 6.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.1197, allocations: 106.8 kB / 388.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.12, allocations: 273.8 kB / 388.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.12, allocations: 33.7 kB / 388.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.1202, allocations: 204 kB / 388.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.1202, allocations: 51.62 kB / 388.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.521e-05/0.1203, allocations: 49.89 kB / 388.7 MB, free: 5.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1205, allocations: 338.8 kB / 389 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.1209, allocations: 133.9 kB / 389.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/0.1214, allocations: 299.2 kB / 389.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008003/0.1222, allocations: 323.6 kB / 389.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1222, allocations: 4 kB / 389.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001389/0.1236, allocations: 0.4936 MB / 390.3 MB, free: 3.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.396e-05/0.1236, allocations: 37.69 kB / 390.3 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1236, allocations: 4 kB / 390.3 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003882/0.124, allocations: 84.88 kB / 390.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.1242, allocations: 51.89 kB / 390.4 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/0.1273, allocations: 1.926 MB / 392.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.1276, allocations: 59.81 kB / 392.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.1276, allocations: 15.98 kB / 392.4 MB, free: 1.594 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.0001714/0.1278, allocations: 145.7 kB / 392.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.1278, allocations: 23.86 kB / 392.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.264e-05/0.1279, allocations: 25.77 kB / 392.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1279, allocations: 4 kB / 392.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.1279, allocations: 4 kB / 392.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1279, allocations: 0 / 392.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.1282, allocations: 221.1 kB / 392.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1282, allocations: 0 / 392.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.1283, allocations: 23.97 kB / 392.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002929/0.1286, allocations: 84.8 kB / 393 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1286, allocations: 4 kB / 393 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002557/0.1312, allocations: 1.84 MB / 394.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1312, allocations: 3.938 kB / 394.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.1323, allocations: 369.6 kB / 395.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.1323, allocations: 23.86 kB / 395.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.1324, allocations: 4 kB / 395.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.1326, allocations: 35.95 kB / 395.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.1327, allocations: 19.97 kB / 395.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.1327, allocations: 4 kB / 395.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002088/0.1329, allocations: 193.2 kB / 395.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1329, allocations: 3.938 kB / 395.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000439/0.1333, allocations: 87.78 kB / 395.5 MB, free: 14.33 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: 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.0001225/0.1335, allocations: 102.2 kB / 395.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.1349, allocations: 0.5152 MB / 396.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1349, allocations: 0 / 396.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005231/0.1354, allocations: 239.1 kB / 396.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.1357, allocations: 48.34 kB / 396.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.139, allocations: 0.9334 MB / 397.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.1391, allocations: 146.8 kB / 397.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.1392, allocations: 26.28 kB / 397.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.1393, allocations: 20.5 kB / 397.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1393, allocations: 0 / 397.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of Templates: time 0.008884/0.1482, allocations: 4.129 MB / 401.7 MB, free: 8.145 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/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_4.1.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: 4.498868257040158]