Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.001545/0.001545, allocations: 118.5 kB / 18.41 MB, free: 4.684 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.001783/0.001783, allocations: 190.7 kB / 21.35 MB, free: 1.75 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.435/1.435, allocations: 222.9 MB / 247.1 MB, free: 4.211 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.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 51.91 kB / 358.7 MB, free: 8.293 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1036, allocations: 49.43 MB / 408.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004269/0.1079, allocations: 2.943 MB / 411.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.1093, allocations: 0.7323 MB / 411.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.1094, allocations: 15.94 kB / 411.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.1097, allocations: 55.44 kB / 411.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.1099, allocations: 99.17 kB / 412 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.1102, allocations: 119.8 kB / 412.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004688/0.1107, allocations: 414.2 kB / 412.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.1109, allocations: 127.4 kB / 412.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.1112, allocations: 151.4 kB / 412.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.1114, allocations: 163.2 kB / 412.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.921e-05/0.1115, allocations: 36 kB / 413 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.223e-05/0.1115, allocations: 36 kB / 413 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.529e-05/0.1116, allocations: 75.75 kB / 413.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.1118, allocations: 171.1 kB / 413.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004553/0.1123, allocations: 378.4 kB / 413.6 MB, free: 1.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1123, allocations: 3.938 kB / 413.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1123, allocations: 0 / 413.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1123, allocations: 0 / 413.6 MB, free: 1.301 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00116/0.1135, allocations: 0.6391 MB / 414.3 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1135, allocations: 11.89 kB / 414.3 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.973e-05/0.1136, allocations: 40.7 kB / 414.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.1141, allocations: 295.8 kB / 414.6 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1141, allocations: 21.03 kB / 414.6 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.636e-05/0.1142, allocations: 28.38 kB / 414.6 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007131/0.1149, allocations: 349.3 kB / 415 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1149, allocations: 0 / 415 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.115, allocations: 16 kB / 415 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.115, allocations: 8 kB / 415 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007015/0.1157, allocations: 286.5 kB / 415.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.1177, allocations: 1.171 MB / 416.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009401/0.1187, allocations: 306.7 kB / 416.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000509/0.1192, allocations: 176.7 kB / 416.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.1192, allocations: 3.984 kB / 416.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.1193, allocations: 42.55 kB / 417 MB, free: 13.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 3.687e-06/0.1193, allocations: 0 / 417 MB, free: 13.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.002845/0.1222, allocations: 0.8552 MB / 417.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.1222, allocations: 59.34 kB / 417.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.1225, allocations: 270.6 kB / 418.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.1226, allocations: 33.7 kB / 418.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.1227, allocations: 204.3 kB / 418.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/0.1228, allocations: 79.36 kB / 418.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.1229, allocations: 53.7 kB / 418.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1231, allocations: 342.8 kB / 418.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.1234, allocations: 104.7 kB / 419 MB, free: 11.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.1238, allocations: 187.9 kB / 419.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006357/0.1244, allocations: 302.2 kB / 419.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1244, allocations: 4 kB / 419.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001545/0.126, allocations: 0.5222 MB / 420 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.126, allocations: 12.09 kB / 420 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.126, allocations: 4 kB / 420 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006653/0.1267, allocations: 141.5 kB / 420.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.1269, allocations: 59.91 kB / 420.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005806/0.1327, allocations: 3.701 MB / 423.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.1331, allocations: 47.72 kB / 423.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.1331, allocations: 16 kB / 423.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000322/0.1334, allocations: 180.1 kB / 424.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002791/0.1337, allocations: 172.5 kB / 424.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000474/0.1342, allocations: 268.5 kB / 424.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.853e-06/0.1342, allocations: 0 / 424.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0009954/0.1352, allocations: 410.8 kB / 424.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1352, allocations: 10.03 kB / 425 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1352, allocations: 4 kB / 425 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003193/0.1356, allocations: 89.73 kB / 425 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.1358, allocations: 59.91 kB / 425.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003349/0.1391, allocations: 3.016 MB / 428.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.1394, allocations: 39.83 kB / 428.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.1394, allocations: 15.98 kB / 428.2 MB, free: 1.684 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001637/0.1396, allocations: 196.1 kB / 428.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.1396, allocations: 27.86 kB / 428.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.355e-05/0.1397, allocations: 30.17 kB / 428.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1397, allocations: 4 kB / 428.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.1397, allocations: 0 / 428.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1397, allocations: 8 kB / 428.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.1416, allocations: 0.8159 MB / 429.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1416, allocations: 0 / 429.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.1417, allocations: 23.98 kB / 429.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005008/0.1422, allocations: 145.6 kB / 429.4 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1423, allocations: 4 kB / 429.4 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1851/0.3274, allocations: 3.413 MB / 432.8 MB, free: 19.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3274, allocations: 0 / 432.8 MB, free: 19.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.3288, allocations: 0.6124 MB / 433.4 MB, free: 19.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.115e-05/0.3289, allocations: 102.4 kB / 433.5 MB, free: 19.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.3289, allocations: 8.469 kB / 433.6 MB, free: 19.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.3292, allocations: 26.17 kB / 433.6 MB, free: 19.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/0.3292, allocations: 19.45 kB / 433.6 MB, free: 19.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.3293, allocations: 9.688 kB / 433.6 MB, free: 19.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.3294, allocations: 191.9 kB / 433.8 MB, free: 19.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3294, allocations: 1.75 kB / 433.8 MB, free: 19.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00063/0.3301, allocations: 163.7 kB / 434 MB, free: 19.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000111/0.3302, allocations: 109.2 kB / 434.1 MB, free: 19.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.3316, allocations: 0.8931 MB / 435 MB, free: 18.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3317, allocations: 3.031 kB / 435 MB, free: 18.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.3321, allocations: 356.8 kB / 435.3 MB, free: 18.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.3324, allocations: 49.5 kB / 435.4 MB, free: 18.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.3335, allocations: 0.6279 MB / 436 MB, free: 18.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.3337, allocations: 0.7699 MB / 436.8 MB, free: 17.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.3337, allocations: 27.03 kB / 436.8 MB, free: 17.47 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3337, allocations: 6.844 kB / 436.8 MB, free: 17.47 MB / 350.1 MB Notification: Performance of Templates: time 0.009208/0.343, allocations: 5.762 MB / 442.5 MB, free: 17.19 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.710473560960963]