Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 120.5 kB / 18.41 MB, free: 4.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 194.7 kB / 21.35 MB, free: 1.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 247 MB, free: 4.172 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 47.92 kB / 358.7 MB, free: 8.328 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09228/0.09382, allocations: 49.44 MB / 408.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004841/0.0987, allocations: 3.361 MB / 411.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.1003, allocations: 0.8065 MB / 412.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002905/0.1006, allocations: 8 kB / 412.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.1009, allocations: 63.36 kB / 412.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.1012, allocations: 123 kB / 412.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.1016, allocations: 131.8 kB / 412.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005831/0.1022, allocations: 0.4979 MB / 413.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003018/0.1025, allocations: 173 kB / 413.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002837/0.1028, allocations: 187.4 kB / 413.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.1031, allocations: 203.1 kB / 413.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.43e-05/0.1032, allocations: 51.98 kB / 413.7 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.692e-05/0.1033, allocations: 48 kB / 413.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.426e-05/0.1034, allocations: 99.62 kB / 413.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.1036, allocations: 227 kB / 414.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005937/0.1042, allocations: 0.5603 MB / 414.7 MB, free: 304 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1042, allocations: 0 / 414.7 MB, free: 304 kB / 334.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1043, allocations: 3.984 kB / 414.7 MB, free: 300 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.1043, allocations: 0 / 414.7 MB, free: 300 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.001241/0.1055, allocations: 0.7015 MB / 415.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1056, allocations: 8.031 kB / 415.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.979e-05/0.1057, allocations: 48.66 kB / 415.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.1061, allocations: 320.8 kB / 415.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.1062, allocations: 33.38 kB / 415.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/0.1062, allocations: 32.12 kB / 415.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007307/0.107, allocations: 386.2 kB / 416.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.107, allocations: 0 / 416.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/0.107, allocations: 16 kB / 416.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.1071, allocations: 8 kB / 416.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006892/0.1078, allocations: 303.8 kB / 416.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002328/0.1101, allocations: 1.436 MB / 417.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.1108, allocations: 238.7 kB / 418.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.111, allocations: 92.81 kB / 418.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.1111, allocations: 7.984 kB / 418.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1111, allocations: 38.56 kB / 418.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.1111, allocations: 0 / 418.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002426/0.1135, allocations: 0.7538 MB / 419.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.1136, allocations: 59.34 kB / 419.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/0.114, allocations: 319.2 kB / 419.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.114, allocations: 29.7 kB / 419.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.1142, allocations: 228.3 kB / 419.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.854e-05/0.1143, allocations: 59.48 kB / 419.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.376e-05/0.1144, allocations: 57.66 kB / 419.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1145, allocations: 334.8 kB / 420.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.1148, allocations: 83.97 kB / 420.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.115, allocations: 161.3 kB / 420.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.1156, allocations: 256.8 kB / 420.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1156, allocations: 0 / 420.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001073/0.1167, allocations: 423 kB / 421 MB, free: 9.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1167, allocations: 4 kB / 421 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1167, allocations: 4 kB / 421 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004867/0.1172, allocations: 117.7 kB / 421.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.1174, allocations: 43.92 kB / 421.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004449/0.1218, allocations: 3.576 MB / 424.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.1221, allocations: 39.77 kB / 424.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.1221, allocations: 8 kB / 424.8 MB, free: 5.48 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.0001812/0.1223, allocations: 157.8 kB / 425 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/0.1224, allocations: 35.75 kB / 425 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.808e-05/0.1224, allocations: 30.3 kB / 425 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1224, allocations: 0 / 425 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1225, allocations: 0 / 425 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1225, allocations: 0 / 425 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.1229, allocations: 365.4 kB / 425.4 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1229, allocations: 0 / 425.4 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.4e-05/0.123, allocations: 19.92 kB / 425.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003936/0.1234, allocations: 117.7 kB / 425.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1234, allocations: 4 kB / 425.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0039/0.1273, allocations: 3.475 MB / 429 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1274, allocations: 0 / 429 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009966/0.1284, allocations: 432.8 kB / 429.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.1285, allocations: 113 kB / 429.5 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.1285, allocations: 4 kB / 429.5 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.1288, allocations: 31.98 kB / 429.6 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.1288, allocations: 19.91 kB / 429.6 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.1289, allocations: 4 kB / 429.6 MB, free: 312 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002568/0.1291, allocations: 218 kB / 429.8 MB, free: 100 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1291, allocations: 0 / 429.8 MB, free: 100 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005255/0.1297, allocations: 99.84 kB / 429.9 MB, free: 0 / 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.1706/0.3003, allocations: 99.36 kB / 430 MB, free: 22.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.3015, allocations: 0.5137 MB / 430.5 MB, free: 21.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3015, allocations: 3.734 kB / 430.5 MB, free: 21.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003602/0.3019, allocations: 341.4 kB / 430.8 MB, free: 21.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.3023, allocations: 51.44 kB / 430.9 MB, free: 21.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009638/0.3033, allocations: 0.5917 MB / 431.5 MB, free: 21.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.3035, allocations: 0.7758 MB / 432.3 MB, free: 20.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.3036, allocations: 22.56 kB / 432.3 MB, free: 20.72 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3036, allocations: 1.406 kB / 432.3 MB, free: 20.72 MB / 350.1 MB Notification: Performance of Templates: time 0.009442/0.313, allocations: 6.734 MB / 439 MB, free: 20.39 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.76407986797858]