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.001323/0.001323, allocations: 85.91 kB / 22.22 MB, free: 2.281 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.000989/0.000989, allocations: 158.4 kB / 25.61 MB, free: 8.91 MB / 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.9649/0.9649, allocations: 177 MB / 205.9 MB, free: 4.457 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.583e-06/1.583e-06, allocations: 0 / 274.2 MB, free: 4.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.417e-05, allocations: 6.844 kB / 274.2 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.00363/0.003654, allocations: 3.345 MB / 277.5 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.005057, allocations: 0.8284 MB / 278.3 MB, free: 68 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.005262, allocations: 11.94 kB / 278.4 MB, free: 56 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.005445, allocations: 67.42 kB / 278.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.005663, allocations: 131.4 kB / 278.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.005974, allocations: 139.8 kB / 278.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004252/0.0064, allocations: 0.5016 MB / 279.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.00661, allocations: 125.3 kB / 279.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003531/0.006963, allocations: 291.4 kB / 279.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.007192, allocations: 155.5 kB / 279.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.713e-05/0.00725, allocations: 48 kB / 279.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.911e-05/0.007339, allocations: 59.97 kB / 279.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.994e-05/0.007399, allocations: 99.61 kB / 279.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.007519, allocations: 167.6 kB / 280.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003616/0.00788, allocations: 322.9 kB / 280.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.007886, allocations: 0 / 280.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.007887, allocations: 4 kB / 280.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.007894, allocations: 0 / 280.4 MB, free: 13.97 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.0007815/0.008676, allocations: 0.7259 MB / 281.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.008711, allocations: 8.031 kB / 281.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.008889, allocations: 84.64 kB / 281.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.009206, allocations: 275.4 kB / 281.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.009231, allocations: 25.38 kB / 281.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.009264, allocations: 36.38 kB / 281.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.009594, allocations: 360.2 kB / 281.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.009607, allocations: 7.938 kB / 281.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.009633, allocations: 19.98 kB / 282 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.009643, allocations: 8 kB / 282 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.009781, allocations: 114.9 kB / 282.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.01106, allocations: 1.201 MB / 283.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.01129, allocations: 143.2 kB / 283.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.01133, allocations: 39.67 kB / 283.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.01135, allocations: 7.984 kB / 283.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.01138, allocations: 37.39 kB / 283.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.01138, allocations: 3.938 kB / 283.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006768/0.01206, allocations: 330.7 kB / 283.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.01208, allocations: 55.41 kB / 283.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.01227, allocations: 308.1 kB / 284.2 MB, free: 9.961 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.01228, allocations: 25.7 kB / 284.2 MB, free: 9.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.01241, allocations: 290.7 kB / 284.5 MB, free: 9.641 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.01244, allocations: 63.45 kB / 284.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.561e-05/0.01251, allocations: 63.3 kB / 284.6 MB, free: 9.508 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.01264, allocations: 0.5155 MB / 285.1 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-05/0.01267, allocations: 23.98 kB / 285.2 MB, free: 8.957 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.823e-05/0.01276, allocations: 132.7 kB / 285.3 MB, free: 8.785 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.01291, allocations: 165.9 kB / 285.4 MB, free: 8.582 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.01292, allocations: 4 kB / 285.4 MB, free: 8.578 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000335/0.01325, allocations: 269.9 kB / 285.7 MB, free: 8.301 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.01327, allocations: 8 kB / 285.7 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.01327, allocations: 8.281 kB / 285.7 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000325/0.0136, allocations: 111.3 kB / 285.8 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.772e-05/0.01369, allocations: 39.92 kB / 285.9 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.01588, allocations: 3.982 MB / 289.9 MB, free: 3.914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.016, allocations: 27.78 kB / 289.9 MB, free: 3.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.01601, allocations: 11.98 kB / 289.9 MB, free: 3.875 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 0.0001064/0.01612, allocations: 172.5 kB / 290.1 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.01616, allocations: 39.81 kB / 290.1 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.01619, allocations: 26.11 kB / 290.1 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.01619, allocations: 4 kB / 290.1 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.01619, allocations: 0 / 290.1 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.01619, allocations: 4 kB / 290.1 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.01641, allocations: 212.9 kB / 290.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01641, allocations: 0 / 290.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.073e-05/0.01645, allocations: 15.97 kB / 290.4 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002759/0.01673, allocations: 123.2 kB / 290.5 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.01674, allocations: 8.062 kB / 290.5 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.01874, allocations: 3.979 MB / 294.5 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01874, allocations: 0 / 294.5 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.01902, allocations: 357.3 kB / 294.8 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.042e-05/0.01906, allocations: 31.78 kB / 294.8 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.01907, allocations: 0 / 294.8 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.86e-05/0.01917, allocations: 28.02 kB / 294.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.01922, allocations: 15.97 kB / 294.9 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.01923, allocations: 4 kB / 294.9 MB, free: 14.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.742e-05/0.01933, allocations: 205.1 kB / 295.1 MB, free: 14.37 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01933, allocations: 0 / 295.1 MB, free: 14.37 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003534/0.01968, allocations: 115.7 kB / 295.2 MB, free: 14.26 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.0001282/0.01981, allocations: 106.8 kB / 295.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000399/0.02021, allocations: 0.49 MB / 295.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.02021, allocations: 0 / 295.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.02044, allocations: 435.7 kB / 296.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.02072, allocations: 57.91 kB / 296.3 MB, free: 13.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.02191, allocations: 0.5708 MB / 296.9 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.525e-05/0.02197, allocations: 96.84 kB / 296.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.381e-05/0.02205, allocations: 26.28 kB / 297 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.02217, allocations: 118.2 kB / 297.1 MB, free: 12.24 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.02217, allocations: 4 kB / 297.1 MB, free: 12.24 MB / 282.7 MB Notification: Performance of Templates: time 0.007011/0.02918, allocations: 4.258 MB / 301.4 MB, free: 8.047 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: 2.799851872958243]