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.00131/0.00131, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002357/0.003667, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.00137/0.00137, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001854/0.003224, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.019/1.019, allocations: 177.5 MB / 190 MB, free: 4.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08489/1.104, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.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.643e-06/1.643e-06, allocations: 0 / 245.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.39e-05, allocations: 2.312 kB / 245.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004846/0.00487, allocations: 3.418 MB / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.006579, allocations: 0.8607 MB / 249.5 MB, free: 9.207 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.00681, allocations: 11.94 kB / 249.5 MB, free: 9.195 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.006974, allocations: 67.3 kB / 249.6 MB, free: 9.129 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.007248, allocations: 138.8 kB / 249.7 MB, free: 8.992 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.007571, allocations: 135.7 kB / 249.9 MB, free: 8.859 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005458/0.008116, allocations: 0.5056 MB / 250.4 MB, free: 8.352 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.008356, allocations: 129.9 kB / 250.5 MB, free: 8.223 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005024/0.008858, allocations: 323.9 kB / 250.8 MB, free: 7.906 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.009119, allocations: 163.5 kB / 251 MB, free: 7.746 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.144e-05/0.00919, allocations: 48 kB / 251 MB, free: 7.699 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.00932, allocations: 52 kB / 251.1 MB, free: 7.648 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.307e-05/0.009394, allocations: 75.75 kB / 251.1 MB, free: 7.574 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.009544, allocations: 135.8 kB / 251.3 MB, free: 7.441 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004287/0.009973, allocations: 299 kB / 251.6 MB, free: 7.148 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.437e-05/0.009988, allocations: 0 / 251.6 MB, free: 7.148 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.009989, allocations: 0 / 251.6 MB, free: 7.148 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.01, allocations: 0 / 251.6 MB, free: 7.148 MB / 250.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.0009834/0.01099, allocations: 0.6868 MB / 252.3 MB, free: 6.434 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.01103, allocations: 12.62 kB / 252.3 MB, free: 6.422 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.0113, allocations: 146 kB / 252.4 MB, free: 6.262 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.01164, allocations: 224.5 kB / 252.6 MB, free: 6.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.01167, allocations: 29.38 kB / 252.7 MB, free: 5.992 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-05/0.01171, allocations: 36.38 kB / 252.7 MB, free: 5.957 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.01212, allocations: 368.3 kB / 253.1 MB, free: 5.559 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.01213, allocations: 7.938 kB / 253.1 MB, free: 5.551 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.01216, allocations: 19.94 kB / 253.1 MB, free: 5.531 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.01217, allocations: 8 kB / 253.1 MB, free: 5.523 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.01236, allocations: 90.95 kB / 253.2 MB, free: 5.434 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.01392, allocations: 0.9902 MB / 254.2 MB, free: 4.379 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.01421, allocations: 141.7 kB / 254.3 MB, free: 4.234 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.258e-05/0.01427, allocations: 32.84 kB / 254.3 MB, free: 4.199 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.01429, allocations: 4.344 kB / 254.3 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.01432, allocations: 38.56 kB / 254.4 MB, free: 4.148 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 2.295e-06/0.01432, allocations: 0 / 254.4 MB, free: 4.148 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008016/0.01513, allocations: 290.9 kB / 254.7 MB, free: 3.852 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.01516, allocations: 55.41 kB / 254.7 MB, free: 3.785 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.01536, allocations: 252.9 kB / 255 MB, free: 3.523 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.01538, allocations: 33.7 kB / 255 MB, free: 3.484 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.01549, allocations: 220.5 kB / 255.2 MB, free: 3.266 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.01554, allocations: 67.42 kB / 255.3 MB, free: 3.199 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.158e-05/0.01561, allocations: 53.69 kB / 255.3 MB, free: 3.141 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.01571, allocations: 342.7 kB / 255.7 MB, free: 2.797 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.832e-05/0.01576, allocations: 23.97 kB / 255.7 MB, free: 2.773 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.391e-05/0.01585, allocations: 104.5 kB / 255.8 MB, free: 2.641 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.01603, allocations: 146 kB / 255.9 MB, free: 2.469 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.01603, allocations: 0 / 255.9 MB, free: 2.469 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003913/0.01642, allocations: 220 kB / 256.1 MB, free: 2.242 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.01644, allocations: 8.281 kB / 256.2 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.01644, allocations: 4 kB / 256.2 MB, free: 2.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004281/0.01687, allocations: 117.5 kB / 256.3 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.01701, allocations: 35.98 kB / 256.3 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/0.01922, allocations: 2.752 MB / 259.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.0194, allocations: 31.84 kB / 259.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.01941, allocations: 12 kB / 259.1 MB, free: 15.1 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.0001235/0.01954, allocations: 129.7 kB / 259.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.01958, allocations: 19.97 kB / 259.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/0.01963, allocations: 34.11 kB / 259.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01963, allocations: 0 / 259.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.01964, allocations: 8.031 kB / 259.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01964, allocations: 0 / 259.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.01988, allocations: 173.7 kB / 259.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01989, allocations: 3.938 kB / 259.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.337e-05/0.01996, allocations: 15.94 kB / 259.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.02, allocations: 35.69 kB / 259.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003679/0.02037, allocations: 105.6 kB / 259.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.02038, allocations: 4 kB / 259.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/0.02232, allocations: 2.743 MB / 262.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.02233, allocations: 0 / 262.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.02267, allocations: 268 kB / 262.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.02269, allocations: 11.97 kB / 262.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.02284, allocations: 19.98 kB / 262.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.0229, allocations: 23.95 kB / 262.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.02291, allocations: 4 kB / 262.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.986e-05/0.02301, allocations: 82.78 kB / 262.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02301, allocations: 0 / 262.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004871/0.02349, allocations: 107.8 kB / 262.9 MB, free: 11.09 MB / 266.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.000127/0.02362, allocations: 92.41 kB / 263 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004218/0.02404, allocations: 365.5 kB / 263.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/0.02405, allocations: 4 kB / 263.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000281/0.02434, allocations: 338.6 kB / 263.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.02475, allocations: 372.1 kB / 264 MB, free: 9.828 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003727/0.02848, allocations: 0.6097 MB / 264.6 MB, free: 9.184 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.13e-05/0.02856, allocations: 96.84 kB / 264.7 MB, free: 9.066 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.02867, allocations: 30.27 kB / 264.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.02882, allocations: 95.36 kB / 264.8 MB, free: 8.945 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.02882, allocations: 4 kB / 264.8 MB, free: 8.941 MB / 266.7 MB Notification: Performance of Templates: time 0.006144/0.03497, allocations: 4.476 MB / 269.3 MB, free: 4.52 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [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.r1.useHeatPort,feedback.r2.R,feedback.r2.T,feedback.r2.T_ref,feedback.r2.alpha,feedback.r2.useHeatPort,feedback.r3.R,feedback.r3.T,feedback.r3.T_ref,feedback.r3.alpha,feedback.r3.useHeatPort,feedback.r4.R,feedback.r4.T,feedback.r4.T_ref,feedback.r4.alpha,feedback.r4.useHeatPort,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.578991996124387]