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.001425/0.001425, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001525/0.001525, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9588/0.9588, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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 1.603e-06/1.603e-06, allocations: 0 / 272.9 MB, free: 1.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.204e-05, allocations: 2.312 kB / 272.9 MB, free: 1.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004819/0.004841, allocations: 3.402 MB / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.006652, allocations: 0.8298 MB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.006867, allocations: 7.938 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.007086, allocations: 67.34 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.007371, allocations: 130.8 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.007803, allocations: 139.7 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005366/0.00834, allocations: 0.5094 MB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.008612, allocations: 117.3 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000424/0.009036, allocations: 299.3 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.009286, allocations: 151.6 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.09e-05/0.009357, allocations: 55.94 kB / 278.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.009467, allocations: 56 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.009544, allocations: 95.66 kB / 278.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.009723, allocations: 163.6 kB / 278.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004607/0.01018, allocations: 330.8 kB / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.01019, allocations: 0 / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01019, allocations: 0 / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.01019, allocations: 0 / 279.3 MB, free: 11.05 MB / 266.7 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.0009963/0.01119, allocations: 0.726 MB / 280 MB, free: 10.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.01123, allocations: 11.98 kB / 280 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.01144, allocations: 80.66 kB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/0.01186, allocations: 283.3 kB / 280.4 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.01189, allocations: 29.31 kB / 280.4 MB, free: 9.863 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-05/0.01194, allocations: 36.38 kB / 280.4 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005424/0.01248, allocations: 384.3 kB / 280.8 MB, free: 9.414 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.0125, allocations: 7.938 kB / 280.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.01254, allocations: 16 kB / 280.8 MB, free: 9.391 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.01255, allocations: 8 kB / 280.8 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003544/0.01291, allocations: 137.9 kB / 281 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.01431, allocations: 1.193 MB / 282.2 MB, free: 7.969 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.01457, allocations: 168.1 kB / 282.3 MB, free: 7.793 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.567e-05/0.01463, allocations: 43.67 kB / 282.4 MB, free: 7.746 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.01466, allocations: 8.281 kB / 282.4 MB, free: 7.738 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.01468, allocations: 41.33 kB / 282.4 MB, free: 7.688 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.333e-06/0.01468, allocations: 0 / 282.4 MB, free: 7.688 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006961/0.01538, allocations: 347.8 kB / 282.8 MB, free: 7.336 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.0154, allocations: 55.41 kB / 282.8 MB, free: 7.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.0156, allocations: 312.3 kB / 283.1 MB, free: 6.949 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.01562, allocations: 29.7 kB / 283.1 MB, free: 6.914 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.01573, allocations: 286.8 kB / 283.4 MB, free: 6.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.01576, allocations: 67.44 kB / 283.5 MB, free: 6.562 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.745e-05/0.01582, allocations: 55.36 kB / 283.5 MB, free: 6.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.01593, allocations: 0.5078 MB / 284 MB, free: 5.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.676e-05/0.01598, allocations: 35.97 kB / 284.1 MB, free: 5.945 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003489/0.01633, allocations: 140.8 kB / 284.2 MB, free: 5.766 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.0165, allocations: 184.6 kB / 284.4 MB, free: 5.543 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.0165, allocations: 4 kB / 284.4 MB, free: 5.539 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003394/0.01684, allocations: 281.8 kB / 284.7 MB, free: 5.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.01685, allocations: 11.12 kB / 284.7 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.01686, allocations: 288 / 284.7 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003384/0.01719, allocations: 123.3 kB / 284.8 MB, free: 5.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.381e-05/0.01728, allocations: 39.92 kB / 284.9 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002051/0.01933, allocations: 4.051 MB / 288.9 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.997e-05/0.01943, allocations: 31.78 kB / 288.9 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.01944, allocations: 15.94 kB / 288.9 MB, free: 0.7266 MB / 266.7 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 9.498e-05/0.01954, allocations: 168.5 kB / 289.1 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.01958, allocations: 35.84 kB / 289.1 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.0196, allocations: 26.12 kB / 289.2 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.01961, allocations: 4 kB / 289.2 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01961, allocations: 0 / 289.2 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.01962, allocations: 11.92 kB / 289.2 MB, free: 488 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.01982, allocations: 256.5 kB / 289.4 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.01982, allocations: 0 / 289.4 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.01986, allocations: 15.98 kB / 289.5 MB, free: 180 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002579/0.02012, allocations: 111.3 kB / 289.6 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.02013, allocations: 11.98 kB / 289.6 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.02225, allocations: 4.048 MB / 293.6 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.02226, allocations: 0 / 293.6 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.02258, allocations: 366.8 kB / 294 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.02261, allocations: 35.73 kB / 294 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.02263, allocations: 4 kB / 294 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.574e-05/0.02272, allocations: 24.02 kB / 294 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.02278, allocations: 23.89 kB / 294.1 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.02279, allocations: 8 kB / 294.1 MB, free: 11.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.02291, allocations: 217.1 kB / 294.3 MB, free: 11.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02291, allocations: 0 / 294.3 MB, free: 11.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000325/0.02324, allocations: 103.8 kB / 294.4 MB, free: 10.95 MB / 282.7 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.0001006/0.02334, allocations: 111.3 kB / 294.5 MB, free: 10.83 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000422/0.02376, allocations: 0.491 MB / 295 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.02376, allocations: 0 / 295 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.02398, allocations: 443 kB / 295.4 MB, free: 9.836 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.02423, allocations: 44.41 kB / 295.5 MB, free: 9.793 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008756/0.0251, allocations: 0.5882 MB / 296.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.942e-05/0.02516, allocations: 92.84 kB / 296.1 MB, free: 9.062 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.183e-05/0.02522, allocations: 22.3 kB / 296.2 MB, free: 9.039 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.02526, allocations: 24.5 kB / 296.2 MB, free: 9.016 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02527, allocations: 0 / 296.2 MB, free: 9.016 MB / 282.7 MB Notification: Performance of Templates: time 0.006148/0.03141, allocations: 3.917 MB / 300.1 MB, free: 5.152 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","",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 filterSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff.mat", vars={"vOut.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff.ref.mat", vars={"vOut.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.0086061279289424]