Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001991/0.001991, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.564/1.564, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.589e-05/3.794e-05, allocations: 2.312 kB / 272.4 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.008105/0.008143, allocations: 3.354 MB / 275.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00292/0.01106, allocations: 0.8376 MB / 276.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002807/0.01134, allocations: 8 kB / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000328/0.01167, allocations: 67.3 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004231/0.0121, allocations: 130.9 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005779/0.01267, allocations: 147.8 kB / 276.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008955/0.01357, allocations: 0.5095 MB / 277.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003785/0.01395, allocations: 125.3 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006674/0.01461, allocations: 295.3 kB / 277.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003842/0.015, allocations: 151.6 kB / 278 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.01511, allocations: 52 kB / 278 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.01529, allocations: 56 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.01544, allocations: 103.6 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002819/0.01572, allocations: 151.7 kB / 278.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.01686, allocations: 0.5803 MB / 278.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.01687, allocations: 3.984 kB / 278.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.01687, allocations: 0 / 278.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.01688, allocations: 0 / 278.9 MB, free: 11.24 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001994/0.01887, allocations: 0.7531 MB / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.01893, allocations: 12.03 kB / 279.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003812/0.01931, allocations: 84.62 kB / 279.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006958/0.02001, allocations: 284.7 kB / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.914e-05/0.02007, allocations: 29.38 kB / 280.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.316e-05/0.02016, allocations: 36.38 kB / 280.1 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.02142, allocations: 499.2 kB / 280.6 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.02144, allocations: 3.938 kB / 280.6 MB, free: 9.453 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.486e-05/0.02151, allocations: 16 kB / 280.6 MB, free: 9.438 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.02153, allocations: 8 kB / 280.6 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.02253, allocations: 283.8 kB / 280.9 MB, free: 9.152 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004/0.02653, allocations: 1.494 MB / 282.4 MB, free: 7.582 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009494/0.02748, allocations: 215.2 kB / 282.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.02779, allocations: 79.66 kB / 282.7 MB, free: 7.277 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.162e-05/0.02783, allocations: 8 kB / 282.7 MB, free: 7.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.276e-05/0.02788, allocations: 37.39 kB / 282.7 MB, free: 7.223 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.505e-06/0.02789, allocations: 0 / 282.7 MB, free: 7.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.002835/0.03072, allocations: 0.5006 MB / 283.2 MB, free: 6.707 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/0.03079, allocations: 55.41 kB / 283.3 MB, free: 6.641 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007209/0.03151, allocations: 384.2 kB / 283.6 MB, free: 6.246 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.03155, allocations: 25.7 kB / 283.7 MB, free: 6.215 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/0.03191, allocations: 298.8 kB / 284 MB, free: 5.918 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.381e-05/0.03201, allocations: 63.48 kB / 284 MB, free: 5.855 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.03218, allocations: 67.36 kB / 284.1 MB, free: 5.781 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004265/0.03261, allocations: 0.5235 MB / 284.6 MB, free: 5.246 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.03293, allocations: 71.97 kB / 284.7 MB, free: 5.176 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/0.03341, allocations: 192.5 kB / 284.9 MB, free: 4.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007695/0.03418, allocations: 271.5 kB / 285.1 MB, free: 4.633 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.03418, allocations: 0 / 285.1 MB, free: 4.633 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001504/0.03569, allocations: 396.3 kB / 285.5 MB, free: 4.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.03571, allocations: 7.984 kB / 285.5 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.03573, allocations: 4.312 kB / 285.5 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.0368, allocations: 159.3 kB / 285.7 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.03706, allocations: 39.92 kB / 285.7 MB, free: 4.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007273/0.04433, allocations: 4.303 MB / 290 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003757/0.0447, allocations: 27.84 kB / 290 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.04474, allocations: 16.03 kB / 290.1 MB, free: 15.42 MB / 282.7 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.0004016/0.04514, allocations: 208.4 kB / 290.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.04525, allocations: 27.86 kB / 290.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.514e-05/0.04535, allocations: 26.11 kB / 290.3 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.04535, allocations: 4 kB / 290.3 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.04536, allocations: 0 / 290.3 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.04536, allocations: 0 / 290.3 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000751/0.04611, allocations: 328.5 kB / 290.6 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.04612, allocations: 0 / 290.6 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.04624, allocations: 16 kB / 290.7 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000939/0.04718, allocations: 155.2 kB / 290.8 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.0472, allocations: 0 / 290.8 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006699/0.0539, allocations: 4.253 MB / 295.1 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.0539, allocations: 0 / 295.1 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.0553, allocations: 454.6 kB / 295.5 MB, free: 9.656 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.805e-05/0.0554, allocations: 27.81 kB / 295.5 MB, free: 9.629 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/0.05545, allocations: 4 kB / 295.5 MB, free: 9.625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.05581, allocations: 19.98 kB / 295.6 MB, free: 9.605 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.537e-05/0.05589, allocations: 15.97 kB / 295.6 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.05592, allocations: 4 kB / 295.6 MB, free: 9.586 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004566/0.05638, allocations: 257.1 kB / 295.8 MB, free: 9.336 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.05638, allocations: 4 kB / 295.8 MB, free: 9.332 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009878/0.05737, allocations: 103.7 kB / 295.9 MB, free: 9.23 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: 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.0002235/0.05759, allocations: 107.2 kB / 296 MB, free: 9.113 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001756/0.05935, allocations: 0.5963 MB / 296.6 MB, free: 8.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.05935, allocations: 0 / 296.6 MB, free: 8.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008479/0.0602, allocations: 451.7 kB / 297.1 MB, free: 8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/0.06086, allocations: 40.48 kB / 297.1 MB, free: 7.957 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.06287, allocations: 0.565 MB / 297.7 MB, free: 7.363 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.06317, allocations: 176.8 kB / 297.9 MB, free: 7.164 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001502/0.06332, allocations: 18.28 kB / 297.9 MB, free: 7.148 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.515e-05/0.06341, allocations: 20.5 kB / 297.9 MB, free: 7.129 MB / 282.7 MB Notification: Performance of SimCode: time 1.773e-06/0.06341, allocations: 4 kB / 297.9 MB, free: 7.125 MB / 282.7 MB Notification: Performance of Templates: time 0.0147/0.07811, allocations: 3.692 MB / 301.6 MB, free: 3.484 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_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.658190926071256]