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.001411/0.001411, allocations: 110.5 kB / 21.23 MB, free: 0.5117 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.001603/0.001603, allocations: 207.9 kB / 24.53 MB, free: 3.891 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.539/1.539, allocations: 230.6 MB / 258.2 MB, free: 8.043 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.002124/0.002124, allocations: 72.53 kB / 379.1 MB, free: 2.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3026, allocations: 53.38 MB / 432.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.006058/0.3087, allocations: 3.412 MB / 435.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.311, allocations: 0.8766 MB / 436.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002938/0.3112, allocations: 4 kB / 436.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.3115, allocations: 67.36 kB / 436.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.3118, allocations: 130.9 kB / 436.9 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.3123, allocations: 151.8 kB / 437.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005925/0.3128, allocations: 0.4902 MB / 437.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.3131, allocations: 125.4 kB / 437.7 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003323/0.3135, allocations: 195.3 kB / 437.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.3137, allocations: 203.1 kB / 438.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.3139, allocations: 48 kB / 438.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.314, allocations: 52 kB / 438.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.072e-05/0.3141, allocations: 95.69 kB / 438.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.3143, allocations: 226.9 kB / 438.5 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008092/0.3151, allocations: 0.5698 MB / 439.1 MB, free: 296 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3151, allocations: 0 / 439.1 MB, free: 296 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.3151, allocations: 0 / 439.1 MB, free: 296 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.3151, allocations: 0 / 439.1 MB, free: 296 kB / 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.001376/0.3165, allocations: 0.6339 MB / 439.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.3165, allocations: 12.03 kB / 439.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002271/0.3168, allocations: 52.69 kB / 439.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005302/0.3173, allocations: 274.6 kB / 440 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.3173, allocations: 29.31 kB / 440.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-05/0.3174, allocations: 40.12 kB / 440.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007521/0.3181, allocations: 382.2 kB / 440.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3182, allocations: 0 / 440.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/0.3182, allocations: 16 kB / 440.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.3182, allocations: 8 kB / 440.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006753/0.3189, allocations: 307.8 kB / 440.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/0.3214, allocations: 1.392 MB / 442.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006687/0.322, allocations: 222.7 kB / 442.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.3222, allocations: 96.8 kB / 442.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.3223, allocations: 4 kB / 442.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/0.3223, allocations: 30.56 kB / 442.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.3223, allocations: 4 kB / 442.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002183/0.3245, allocations: 0.6004 MB / 443.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.3246, allocations: 59.34 kB / 443.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004377/0.325, allocations: 324.4 kB / 443.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.325, allocations: 33.7 kB / 443.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.3252, allocations: 224.2 kB / 443.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.3253, allocations: 59.48 kB / 443.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.3254, allocations: 57.7 kB / 443.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.3256, allocations: 334.8 kB / 444.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.3258, allocations: 83.95 kB / 444.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.3261, allocations: 161.4 kB / 444.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/0.3266, allocations: 253.2 kB / 444.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.3266, allocations: 0 / 444.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001059/0.3277, allocations: 425.2 kB / 445.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.3277, allocations: 4 kB / 445.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.3277, allocations: 4 kB / 445.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004813/0.3282, allocations: 117.7 kB / 445.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.3284, allocations: 35.92 kB / 445.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004543/0.3329, allocations: 3.373 MB / 448.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.3332, allocations: 35.72 kB / 448.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.3332, allocations: 15.98 kB / 448.7 MB, free: 6.113 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.0002136/0.3334, allocations: 153.8 kB / 448.8 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.976e-05/0.3335, allocations: 31.75 kB / 448.9 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.041e-05/0.3335, allocations: 30.25 kB / 448.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.3335, allocations: 4 kB / 448.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3335, allocations: 0 / 448.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3335, allocations: 0 / 448.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004592/0.334, allocations: 340.4 kB / 449.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.334, allocations: 0 / 449.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.142e-05/0.3341, allocations: 19.94 kB / 449.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003888/0.3345, allocations: 117.7 kB / 449.4 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.3345, allocations: 3.984 kB / 449.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003973/0.3385, allocations: 3.272 MB / 452.6 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3385, allocations: 0 / 452.6 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009466/0.3394, allocations: 431.6 kB / 453.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.207e-05/0.3395, allocations: 27.8 kB / 453.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.3395, allocations: 4 kB / 453.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.3397, allocations: 27.97 kB / 453.1 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.3398, allocations: 23.91 kB / 453.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.3398, allocations: 4 kB / 453.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000269/0.3401, allocations: 219.1 kB / 453.4 MB, free: 1.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3401, allocations: 0 / 453.4 MB, free: 1.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005129/0.3406, allocations: 99.78 kB / 453.5 MB, free: 1.035 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001531/0.3407, allocations: 108.9 kB / 453.6 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.3419, allocations: 0.5014 MB / 454.1 MB, free: 400 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3419, allocations: 12.12 kB / 454.1 MB, free: 388 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004654/0.3424, allocations: 325.2 kB / 454.4 MB, free: 36 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.3429, allocations: 60.42 kB / 454.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.3441, allocations: 0.5829 MB / 455 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.3446, allocations: 0.7795 MB / 455.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.3447, allocations: 30.95 kB / 455.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.3447, allocations: 19.44 kB / 455.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3447, allocations: 0 / 455.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of Templates: time 0.01005/0.3548, allocations: 4.204 MB / 460.1 MB, free: 10.34 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/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_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.831590810790658]