Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.001749/0.001749, allocations: 82.09 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.002345/0.002345, allocations: 160.4 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.478/1.478, allocations: 177.1 MB / 204.7 MB, free: 8.953 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.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003095/0.003095, allocations: 60.7 kB / 325.6 MB, free: 164 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1587, allocations: 53.39 MB / 378.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.006682/0.1654, allocations: 3.141 MB / 382.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.1673, allocations: 0.8026 MB / 382.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.1677, allocations: 7.938 kB / 382.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.1679, allocations: 71.36 kB / 383 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004714/0.1684, allocations: 123 kB / 383.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.1689, allocations: 135.8 kB / 383.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008753/0.1698, allocations: 0.494 MB / 383.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003667/0.1702, allocations: 117.3 kB / 383.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004318/0.1706, allocations: 203.3 kB / 384 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003127/0.1709, allocations: 179.1 kB / 384.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.929e-05/0.171, allocations: 48 kB / 384.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1711, allocations: 52 kB / 384.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.1713, allocations: 103.6 kB / 384.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002771/0.1715, allocations: 183.1 kB / 384.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008529/0.1724, allocations: 0.5799 MB / 385.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.986e-06/0.1724, allocations: 0 / 385.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1724, allocations: 0 / 385.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.1724, allocations: 0 / 385.2 MB, free: 9.184 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001395/0.1738, allocations: 0.6261 MB / 385.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.17e-05/0.1739, allocations: 15.98 kB / 385.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002795/0.1742, allocations: 52.66 kB / 385.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007913/0.175, allocations: 281.2 kB / 386.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/0.175, allocations: 29.38 kB / 386.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.577e-05/0.1751, allocations: 36.12 kB / 386.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008394/0.1759, allocations: 471 kB / 386.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1759, allocations: 3.938 kB / 386.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/0.176, allocations: 16 kB / 386.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.176, allocations: 8 kB / 386.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005016/0.1765, allocations: 271.9 kB / 386.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.1786, allocations: 1.182 MB / 388.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004676/0.1791, allocations: 190.8 kB / 388.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.1793, allocations: 80.83 kB / 388.4 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.1793, allocations: 4 kB / 388.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.9e-05/0.1794, allocations: 34.56 kB / 388.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.774e-06/0.1794, allocations: 0 / 388.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001697/0.1811, allocations: 458.1 kB / 388.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.1811, allocations: 55.41 kB / 388.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.1816, allocations: 289.7 kB / 389.2 MB, free: 4.902 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.1816, allocations: 33.7 kB / 389.2 MB, free: 4.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.1818, allocations: 236.1 kB / 389.5 MB, free: 4.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.1818, allocations: 59.48 kB / 389.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.1819, allocations: 57.66 kB / 389.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.1821, allocations: 338.8 kB / 389.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.1823, allocations: 67.97 kB / 390 MB, free: 4.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.1825, allocations: 140.5 kB / 390.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.1829, allocations: 226.3 kB / 390.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.1829, allocations: 0 / 390.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008249/0.1837, allocations: 359.6 kB / 390.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1837, allocations: 8 kB / 390.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1837, allocations: 0 / 390.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004713/0.1842, allocations: 105.6 kB / 390.8 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.1844, allocations: 47.91 kB / 390.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004226/0.1886, allocations: 3.205 MB / 394.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.1888, allocations: 23.84 kB / 394.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.1889, allocations: 16 kB / 394.1 MB, free: 15.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (feedback.opAmp.satNeg,feedback.opAmp.satPos) * 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: 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002439/0.1891, allocations: 157.7 kB / 394.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.632e-05/0.1892, allocations: 31.75 kB / 394.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.316e-05/0.1892, allocations: 38.17 kB / 394.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.1892, allocations: 7.938 kB / 394.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1893, allocations: 0 / 394.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1893, allocations: 0 / 394.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.1897, allocations: 245.2 kB / 394.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1897, allocations: 0 / 394.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.592e-05/0.1898, allocations: 19.98 kB / 394.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003849/0.1902, allocations: 113.6 kB / 394.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.1902, allocations: 8 kB / 394.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003501/0.1937, allocations: 3.185 MB / 397.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1937, allocations: 0 / 397.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007248/0.1944, allocations: 377 kB / 398.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-05/0.1945, allocations: 35.78 kB / 398.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.1945, allocations: 3.938 kB / 398.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.1948, allocations: 23.98 kB / 398.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.92e-05/0.1949, allocations: 15.97 kB / 398.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.1949, allocations: 11.98 kB / 398.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002562/0.1951, allocations: 205.2 kB / 398.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1951, allocations: 0 / 398.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006126/0.1957, allocations: 107.7 kB / 398.7 MB, free: 10.87 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 (feedback.opAmp.satPos,feedback.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * 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: 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001643/0.1959, allocations: 103.2 kB / 398.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007957/0.1967, allocations: 433.3 kB / 399.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.1967, allocations: 0 / 399.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004734/0.1972, allocations: 348.3 kB / 399.5 MB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.1976, allocations: 40.72 kB / 399.6 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.1989, allocations: 0.5989 MB / 400.2 MB, free: 9.281 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.1991, allocations: 181.3 kB / 400.3 MB, free: 9.082 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.1992, allocations: 26.28 kB / 400.4 MB, free: 9.059 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.1993, allocations: 20.5 kB / 400.4 MB, free: 9.035 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1993, allocations: 0 / 400.4 MB, free: 9.035 MB / 366.1 MB Notification: Performance of Templates: time 0.00918/0.2084, allocations: 3.828 MB / 404.2 MB, free: 5.262 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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,f,feedback.R1,feedback.R3,feedback.V0,feedback.Vns,feedback.Vps,feedback.k,feedback.opAmp.Tau,feedback.opAmp.V0,feedback.opAmp.Vns,feedback.opAmp.Vps,feedback.opAmp.initOpAmp,feedback.opAmp.useFirstOrder,feedback.opAmp.useSupply,feedback.r1.R,feedback.r1.T,feedback.r1.T_ref,feedback.r1.alpha,feedback.r2.R,feedback.r2.T,feedback.r2.T_ref,feedback.r2.alpha,feedback.r3.R,feedback.r3.T,feedback.r3.T_ref,feedback.r3.alpha,feedback.r4.R,feedback.r4.T,feedback.r4.T_ref,feedback.r4.alpha,feedback.v2,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.644397002994083]