Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.00133/0.00133, allocations: 81.62 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.001399/0.001399, allocations: 159.2 kB / 24.5 MB, free: 3.719 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.422/1.422, allocations: 177.1 MB / 204.7 MB, free: 8.969 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.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 62.33 kB / 325.6 MB, free: 176 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.12, allocations: 53.39 MB / 378.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.007279/0.1273, allocations: 2.979 MB / 381.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.1297, allocations: 0.7596 MB / 382.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000295/0.13, allocations: 8 kB / 382.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.1303, allocations: 63.36 kB / 382.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004487/0.1308, allocations: 115 kB / 382.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.1312, allocations: 119.8 kB / 383 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006241/0.1318, allocations: 442.2 kB / 383.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003462/0.1322, allocations: 116.4 kB / 383.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003897/0.1325, allocations: 179.4 kB / 383.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.1329, allocations: 159.2 kB / 383.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.149e-05/0.133, allocations: 44 kB / 383.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.1331, allocations: 44 kB / 383.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.1332, allocations: 87.64 kB / 384 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.1335, allocations: 163.3 kB / 384.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008857/0.1344, allocations: 0.5175 MB / 384.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.1344, allocations: 4 kB / 384.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1344, allocations: 0 / 384.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.1344, allocations: 4 kB / 384.7 MB, free: 9.629 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.001388/0.1358, allocations: 0.5869 MB / 385.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1358, allocations: 11.98 kB / 385.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002682/0.1361, allocations: 56.62 kB / 385.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006931/0.1368, allocations: 261.8 kB / 385.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.1368, allocations: 25.03 kB / 385.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.1369, allocations: 28.38 kB / 385.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009088/0.1378, allocations: 405.2 kB / 386.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.1378, allocations: 3.938 kB / 386.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/0.1379, allocations: 19.98 kB / 386.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.1379, allocations: 8 kB / 386.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007031/0.1386, allocations: 246.5 kB / 386.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/0.1412, allocations: 1.016 MB / 387.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006325/0.1418, allocations: 174.7 kB / 387.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.142, allocations: 80.77 kB / 387.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.1421, allocations: 4 kB / 387.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.1421, allocations: 30.56 kB / 387.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 2.385e-06/0.1421, allocations: 7.938 kB / 387.7 MB, free: 6.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001696/0.1438, allocations: 425.1 kB / 388.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.1439, allocations: 55.41 kB / 388.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.1442, allocations: 273.8 kB / 388.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.1443, allocations: 29.7 kB / 388.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.1445, allocations: 224.1 kB / 388.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.079e-05/0.1445, allocations: 59.48 kB / 388.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-05/0.1446, allocations: 61.64 kB / 388.8 MB, free: 5.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1448, allocations: 326.8 kB / 389.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.145, allocations: 67.97 kB / 389.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.1452, allocations: 145.4 kB / 389.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/0.1456, allocations: 220.2 kB / 389.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.1456, allocations: 4 kB / 389.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007663/0.1463, allocations: 342.1 kB / 389.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1464, allocations: 4 kB / 389.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.1464, allocations: 4 kB / 389.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004514/0.1468, allocations: 96.78 kB / 389.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.147, allocations: 35.92 kB / 390 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003044/0.15, allocations: 2.037 MB / 392 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.1503, allocations: 31.78 kB / 392 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.1503, allocations: 11.98 kB / 392.1 MB, free: 1.875 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (add.opAmp.satNeg,add.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002077/0.1505, allocations: 145.8 kB / 392.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/0.1506, allocations: 27.8 kB / 392.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.659e-05/0.1506, allocations: 30.11 kB / 392.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1506, allocations: 4.062 kB / 392.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.1506, allocations: 0 / 392.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1506, allocations: 3.938 kB / 392.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.1517, allocations: 0.5653 MB / 392.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.1517, allocations: 3.938 kB / 392.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.862e-05/0.1517, allocations: 15.98 kB / 392.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003409/0.1521, allocations: 96.72 kB / 392.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.1521, allocations: 8.281 kB / 392.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002625/0.1547, allocations: 2.014 MB / 395 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1547, allocations: 3.938 kB / 395 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006231/0.1554, allocations: 359.3 kB / 395.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.1554, allocations: 27.8 kB / 395.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.1554, allocations: 0 / 395.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.1556, allocations: 23.92 kB / 395.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/0.1557, allocations: 19.95 kB / 395.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.1557, allocations: 8 kB / 395.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002148/0.1559, allocations: 189.2 kB / 395.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1559, allocations: 0 / 395.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005196/0.1565, allocations: 99.8 kB / 395.7 MB, free: 14.08 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: 2 (add.opAmp.satPos,add.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001501/0.1566, allocations: 99.25 kB / 395.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000694/0.1573, allocations: 318.6 kB / 396.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1573, allocations: 3.938 kB / 396.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003411/0.1577, allocations: 214.6 kB / 396.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.1581, allocations: 36.98 kB / 396.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.1592, allocations: 0.548 MB / 396.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.1594, allocations: 168.8 kB / 397 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.91e-05/0.1595, allocations: 26.28 kB / 397.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.1595, allocations: 20.5 kB / 397.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1595, allocations: 0 / 397.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of Templates: time 0.008657/0.1682, allocations: 3.389 MB / 400.5 MB, free: 9.238 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,vOut.v Variables in the result:Vin,add.R,add.R1,add.R2,add.V0,add.Vns,add.Vps,add.k1,add.k2,add.opAmp.Tau,add.opAmp.V0,add.opAmp.Vns,add.opAmp.Vps,add.opAmp.initOpAmp,add.opAmp.useFirstOrder,add.opAmp.useSupply,add.r.R,add.r.T,add.r.T_ref,add.r.alpha,add.r1.R,add.r1.T,add.r1.T_ref,add.r1.alpha,add.r2.R,add.r2.T,add.r2.T_ref,add.r2.alpha,add.v2,f,time,vIn1.V,vIn1.f,vIn1.offset,vIn1.phase,vIn1.signalSource.amplitude,vIn1.signalSource.continuous,vIn1.signalSource.f,vIn1.signalSource.offset,vIn1.signalSource.phase,vIn1.signalSource.startTime,vIn1.startTime,vIn2.V,vOut.v [Calling sys.exit(0), Time elapsed: 4.485752263106406]