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.001592/0.001592, allocations: 106.2 kB / 19.8 MB, free: 2.5 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.001863/0.001863, allocations: 219.9 kB / 23 MB, free: 5.574 MB / 14.72 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.478/1.478, allocations: 230.2 MB / 256.2 MB, free: 8.527 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001846/0.001846, allocations: 63.91 kB / 376.5 MB, free: 3.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3091, allocations: 53.32 MB / 429.8 MB, free: 7.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.005267/0.3144, allocations: 3.423 MB / 433.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.3162, allocations: 0.8649 MB / 434.1 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.3164, allocations: 11.94 kB / 434.1 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.3166, allocations: 67.36 kB / 434.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.3168, allocations: 127 kB / 434.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.3172, allocations: 143.8 kB / 434.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000535/0.3177, allocations: 0.4941 MB / 434.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002643/0.318, allocations: 129 kB / 435.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002958/0.3183, allocations: 191.3 kB / 435.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.3186, allocations: 199.2 kB / 435.5 MB, free: 2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.985e-05/0.3186, allocations: 52 kB / 435.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.973e-05/0.3187, allocations: 51.98 kB / 435.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.61e-05/0.3188, allocations: 103.6 kB / 435.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.319, allocations: 222.9 kB / 435.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006533/0.3197, allocations: 0.5697 MB / 436.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3197, allocations: 0 / 436.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3197, allocations: 0 / 436.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.3197, allocations: 0 / 436.4 MB, free: 1.008 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.001245/0.3209, allocations: 0.7092 MB / 437.2 MB, free: 256 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.321, allocations: 8.031 kB / 437.2 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.3212, allocations: 60.64 kB / 437.2 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/0.3217, allocations: 324.8 kB / 437.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.3217, allocations: 21.38 kB / 437.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.3218, allocations: 40.12 kB / 437.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007334/0.3225, allocations: 394.1 kB / 438 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3225, allocations: 0 / 438 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.3226, allocations: 16 kB / 438 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.3226, allocations: 12 kB / 438 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006368/0.3232, allocations: 291.9 kB / 438.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.3255, allocations: 1.459 MB / 439.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006593/0.3262, allocations: 222.8 kB / 440 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.3264, allocations: 88.8 kB / 440.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.3264, allocations: 0 / 440.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.3265, allocations: 46.48 kB / 440.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.3265, allocations: 0 / 440.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002273/0.3287, allocations: 0.755 MB / 440.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.3288, allocations: 51.41 kB / 440.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003844/0.3292, allocations: 312.5 kB / 441.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.3292, allocations: 29.7 kB / 441.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.3294, allocations: 236.1 kB / 441.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.3294, allocations: 59.47 kB / 441.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.97e-05/0.3295, allocations: 53.7 kB / 441.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3297, allocations: 330.8 kB / 441.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.3299, allocations: 91.95 kB / 442 MB, free: 11.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.3302, allocations: 161.3 kB / 442.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00046/0.3306, allocations: 252 kB / 442.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3306, allocations: 4 kB / 442.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009948/0.3316, allocations: 422.9 kB / 442.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.3316, allocations: 8 kB / 442.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3316, allocations: 0 / 442.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004801/0.3321, allocations: 117.7 kB / 442.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.3323, allocations: 35.92 kB / 443 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004862/0.3371, allocations: 3.568 MB / 446.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.3374, allocations: 39.83 kB / 446.6 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.3375, allocations: 8 kB / 446.6 MB, free: 6.191 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.0002858/0.3378, allocations: 157.7 kB / 446.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.116e-05/0.3378, allocations: 31.75 kB / 446.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.504e-05/0.3379, allocations: 30.31 kB / 446.8 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3379, allocations: 4 kB / 446.8 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3379, allocations: 4 kB / 446.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3379, allocations: 0 / 446.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005726/0.3385, allocations: 373.3 kB / 447.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3385, allocations: 8.062 kB / 447.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.848e-05/0.3386, allocations: 12 kB / 447.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004796/0.339, allocations: 117.6 kB / 447.3 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.3391, allocations: 4 kB / 447.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004345/0.3434, allocations: 3.464 MB / 450.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3434, allocations: 4.031 kB / 450.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.3445, allocations: 443.6 kB / 451.2 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.3446, allocations: 112.8 kB / 451.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.3447, allocations: 4 kB / 451.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.3449, allocations: 23.98 kB / 451.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.345, allocations: 15.97 kB / 451.4 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.345, allocations: 8 kB / 451.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003116/0.3453, allocations: 219.1 kB / 451.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3453, allocations: 0 / 451.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005952/0.3459, allocations: 99.84 kB / 451.7 MB, free: 0.707 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.0002212/0.3461, allocations: 107.2 kB / 451.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.3473, allocations: 0.5011 MB / 452.3 MB, free: 68 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3474, allocations: 0 / 452.3 MB, free: 68 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005181/0.3479, allocations: 341.7 kB / 452.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.3483, allocations: 59.8 kB / 452.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.3497, allocations: 0.5861 MB / 453.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.3502, allocations: 0.7756 MB / 454.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.3503, allocations: 26.98 kB / 454.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/0.3503, allocations: 27.36 kB / 454.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3503, allocations: 0 / 454.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of Templates: time 0.0101/0.3604, allocations: 4.14 MB / 458.2 MB, free: 10.08 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.59928363841027]