Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001533/0.001533, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001804/0.001804, allocations: 212.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.407/1.407, allocations: 230.4 MB / 258.1 MB, free: 8.133 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.83 kB / 378.8 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.219, allocations: 53.32 MB / 432.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004663/0.2236, allocations: 3.412 MB / 435.5 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.225, allocations: 0.8688 MB / 436.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.2251, allocations: 7.938 kB / 436.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.2253, allocations: 67.36 kB / 436.5 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.2255, allocations: 119 kB / 436.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.2259, allocations: 151.8 kB / 436.7 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005106/0.2264, allocations: 0.494 MB / 437.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.2266, allocations: 133 kB / 437.3 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.2269, allocations: 183.4 kB / 437.5 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002596/0.2272, allocations: 203.1 kB / 437.7 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.389e-05/0.2272, allocations: 48 kB / 437.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.2273, allocations: 52 kB / 437.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.091e-05/0.2274, allocations: 107.6 kB / 437.9 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.2276, allocations: 215 kB / 438.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006073/0.2282, allocations: 0.5697 MB / 438.7 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2282, allocations: 4 kB / 438.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2282, allocations: 4 kB / 438.7 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.2282, allocations: 3.938 kB / 438.7 MB, free: 0.7148 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001197/0.2294, allocations: 0.7132 MB / 439.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.2295, allocations: 8.031 kB / 439.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.2297, allocations: 52.69 kB / 439.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.2301, allocations: 328.6 kB / 439.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.2302, allocations: 25.38 kB / 439.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/0.2302, allocations: 40.12 kB / 439.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007158/0.2309, allocations: 386.2 kB / 440.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2309, allocations: 0 / 440.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.231, allocations: 16 kB / 440.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.231, allocations: 8 kB / 440.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006719/0.2317, allocations: 303.8 kB / 440.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.2339, allocations: 1.436 MB / 442 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006454/0.2346, allocations: 230.7 kB / 442.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.2348, allocations: 92.8 kB / 442.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.2348, allocations: 0 / 442.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.2349, allocations: 38.56 kB / 442.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.2349, allocations: 4 kB / 442.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002332/0.2372, allocations: 0.752 MB / 443.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.2372, allocations: 59.39 kB / 443.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.2376, allocations: 312.5 kB / 443.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.2376, allocations: 29.7 kB / 443.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.2378, allocations: 232.1 kB / 443.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.2378, allocations: 67.47 kB / 443.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-05/0.2379, allocations: 49.7 kB / 443.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2381, allocations: 338.8 kB / 444.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.2383, allocations: 79.95 kB / 444.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.2386, allocations: 165.9 kB / 444.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/0.2391, allocations: 256.4 kB / 444.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.2391, allocations: 7.922 kB / 444.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001063/0.2401, allocations: 419 kB / 445.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.2402, allocations: 7.984 kB / 445.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.2402, allocations: 4 kB / 445.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004457/0.2406, allocations: 113.6 kB / 445.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.2408, allocations: 43.98 kB / 445.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00448/0.2453, allocations: 3.569 MB / 448.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.2455, allocations: 35.81 kB / 448.9 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.2455, allocations: 8 kB / 448.9 MB, free: 5.891 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001703/0.2457, allocations: 161.8 kB / 449 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.894e-05/0.2457, allocations: 31.81 kB / 449.1 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/0.2458, allocations: 34.25 kB / 449.1 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2458, allocations: 0 / 449.1 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2458, allocations: 0 / 449.1 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.762e-05/0.2459, allocations: 108.9 kB / 449.2 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.2459, allocations: 4 kB / 449.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.2461, allocations: 27.98 kB / 449.2 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.2462, allocations: 15.97 kB / 449.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00115/0.2473, allocations: 421.3 kB / 449.6 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007413/0.2481, allocations: 470.3 kB / 450.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001874/0.2483, allocations: 71.95 kB / 450.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000235/0.2485, allocations: 219.1 kB / 450.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of Backend: time 2.6e-07/0.2485, allocations: 0 / 450.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.2498, allocations: 0.5235 MB / 450.9 MB, free: 3.75 MB / 350.1 MB Notification: Performance of SimCode: time 0.001251/0.2511, allocations: 1.09 MB / 452 MB, free: 2.613 MB / 350.1 MB Notification: Performance of Templates: time 0.008556/0.2596, allocations: 4.098 MB / 456.1 MB, free: 14.55 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.221487103030086]