Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.001665/0.001665, allocations: 81.86 kB / 21.25 MB, free: 0.5469 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.00225/0.00225, allocations: 161.3 kB / 24.5 MB, free: 3.715 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.494/1.494, allocations: 177.1 MB / 204.7 MB, free: 8.945 MB / 190.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: 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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 62.19 kB / 325.6 MB, free: 168 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1214, allocations: 53.39 MB / 379 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004973/0.1263, allocations: 2.763 MB / 381.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.1283, allocations: 0.7089 MB / 382.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.1285, allocations: 11.94 kB / 382.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.1287, allocations: 55.44 kB / 382.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.129, allocations: 115 kB / 382.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.1293, allocations: 91.86 kB / 382.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005352/0.1299, allocations: 406.2 kB / 383.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.1301, allocations: 95.78 kB / 383.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.1303, allocations: 159.4 kB / 383.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.1306, allocations: 159.2 kB / 383.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.858e-05/0.1306, allocations: 36 kB / 383.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.213e-05/0.1307, allocations: 32 kB / 383.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1308, allocations: 75.69 kB / 383.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.131, allocations: 155.3 kB / 383.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000477/0.1314, allocations: 398.2 kB / 384.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1314, allocations: 0 / 384.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1314, allocations: 0 / 384.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1315, allocations: 0 / 384.2 MB, free: 10.18 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0009923/0.1324, allocations: 0.5715 MB / 384.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1325, allocations: 11.98 kB / 384.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.83e-05/0.1326, allocations: 40.7 kB / 384.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.1331, allocations: 250.2 kB / 385 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.1331, allocations: 21.03 kB / 385.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.722e-05/0.1332, allocations: 32.38 kB / 385.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006319/0.1338, allocations: 422.9 kB / 385.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.1338, allocations: 3.938 kB / 385.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.1339, allocations: 12 kB / 385.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.1339, allocations: 8 kB / 385.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004168/0.1343, allocations: 238.5 kB / 385.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.1362, allocations: 0.9611 MB / 386.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000554/0.1368, allocations: 222.8 kB / 386.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004433/0.1372, allocations: 156.7 kB / 387.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.1373, allocations: 7.984 kB / 387.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.1373, allocations: 38.56 kB / 387.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.1373, allocations: 0 / 387.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.00115/0.1384, allocations: 404.6 kB / 387.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.1385, allocations: 51.41 kB / 387.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.1388, allocations: 257.8 kB / 387.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.1388, allocations: 29.7 kB / 387.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.139, allocations: 212.2 kB / 388.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.256e-05/0.139, allocations: 91.27 kB / 388.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.1392, allocations: 69.64 kB / 388.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.1393, allocations: 342.8 kB / 388.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.1395, allocations: 71.97 kB / 388.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.1397, allocations: 175.1 kB / 388.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.1401, allocations: 258.9 kB / 389.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1401, allocations: 0 / 389.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007651/0.1408, allocations: 378.9 kB / 389.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.1409, allocations: 7.938 kB / 389.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1409, allocations: 4 kB / 389.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004032/0.1413, allocations: 85.86 kB / 389.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.1415, allocations: 67.91 kB / 389.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.1444, allocations: 2.726 MB / 392.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.1447, allocations: 39.73 kB / 392.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.1447, allocations: 8 kB / 392.4 MB, free: 1.441 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: 4 (opAmp2.satNeg,opAmp2.satPos,opAmp1.satNeg,opAmp1.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002104/0.1449, allocations: 153.9 kB / 392.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/0.145, allocations: 35.92 kB / 392.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.981e-05/0.1451, allocations: 34.22 kB / 392.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.1451, allocations: 7.938 kB / 392.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1451, allocations: 0 / 392.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1451, allocations: 3.984 kB / 392.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.1462, allocations: 0.6216 MB / 393.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1462, allocations: 0 / 393.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.1464, allocations: 52 kB / 393.3 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002835/0.1467, allocations: 77.64 kB / 393.3 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.1467, allocations: 3.938 kB / 393.4 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002864/0.1496, allocations: 2.727 MB / 396.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1496, allocations: 0 / 396.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007803/0.1504, allocations: 463.3 kB / 396.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.78e-05/0.1504, allocations: 31.75 kB / 396.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1505, allocations: 4 kB / 396.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.1507, allocations: 23.98 kB / 396.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.1508, allocations: 23.95 kB / 396.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.1508, allocations: 8.062 kB / 396.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.151, allocations: 177.2 kB / 396.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.151, allocations: 0 / 396.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004652/0.1514, allocations: 99.84 kB / 396.9 MB, free: 12.61 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (opAmp1.v_int,c.v) * Number of discrete variables: 4 (opAmp1.satPos,opAmp1.satNeg,opAmp2.satPos,opAmp2.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000153/0.1516, allocations: 111.2 kB / 397 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006939/0.1523, allocations: 437.3 kB / 397.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1523, allocations: 0 / 397.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004196/0.1527, allocations: 329.7 kB / 397.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.1531, allocations: 58.42 kB / 397.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.1546, allocations: 0.6793 MB / 398.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.1547, allocations: 165.2 kB / 398.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.1549, allocations: 30.97 kB / 398.7 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.291e-05/0.1549, allocations: 24.5 kB / 398.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1549, allocations: 0 / 398.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of Templates: time 0.008876/0.1638, allocations: 3.711 MB / 402.4 MB, free: 7.031 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.719351209001616]