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.001299/0.001299, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 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.001383/0.001383, allocations: 156.6 kB / 24.48 MB, free: 3.465 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.404/1.404, allocations: 173.4 MB / 201.1 MB, free: 12.68 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.0016/0.0016, allocations: 43.28 kB / 319.4 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09472/0.09632, allocations: 52.17 MB / 371.6 MB, free: 7.305 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.005311/0.1016, allocations: 3.097 MB / 374.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1032, allocations: 0.7831 MB / 375.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.1034, allocations: 4 kB / 375.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.1036, allocations: 67.36 kB / 375.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.1038, allocations: 130.9 kB / 375.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.1042, allocations: 135.8 kB / 375.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005374/0.1047, allocations: 0.4902 MB / 376.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002667/0.105, allocations: 117.2 kB / 376.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.1052, allocations: 199.3 kB / 376.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.1055, allocations: 171.2 kB / 376.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.301e-05/0.1055, allocations: 48 kB / 376.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.767e-05/0.1056, allocations: 52 kB / 376.9 MB, free: 2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.428e-05/0.1057, allocations: 99.69 kB / 377 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.1059, allocations: 179.2 kB / 377.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006346/0.1065, allocations: 0.5759 MB / 377.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1065, allocations: 0 / 377.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1065, allocations: 0 / 377.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.1066, allocations: 0 / 377.7 MB, free: 1.148 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.00116/0.1077, allocations: 0.6262 MB / 378.3 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1078, allocations: 12.92 kB / 378.4 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.324e-05/0.1078, allocations: 44.66 kB / 378.4 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.1083, allocations: 262.8 kB / 378.7 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.1083, allocations: 25.38 kB / 378.7 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.518e-05/0.1084, allocations: 40.12 kB / 378.7 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007848/0.1092, allocations: 492.9 kB / 379.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1092, allocations: 0 / 379.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.1092, allocations: 16 kB / 379.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.1092, allocations: 8 kB / 379.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006682/0.1099, allocations: 299.9 kB / 379.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/0.1121, allocations: 1.238 MB / 380.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006214/0.1127, allocations: 218.7 kB / 381 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.113, allocations: 96.81 kB / 381.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.113, allocations: 0 / 381.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.113, allocations: 38.5 kB / 381.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.062e-06/0.113, allocations: 0 / 381.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.00226/0.1153, allocations: 0.5998 MB / 381.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.1153, allocations: 63.39 kB / 381.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/0.1157, allocations: 277.8 kB / 382 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.1157, allocations: 29.7 kB / 382.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.1158, allocations: 228.1 kB / 382.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.1159, allocations: 59.47 kB / 382.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-05/0.116, allocations: 61.7 kB / 382.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1162, allocations: 334.8 kB / 382.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.1164, allocations: 83.89 kB / 382.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.1167, allocations: 169.3 kB / 383 MB, free: 11.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000479/0.1171, allocations: 244.9 kB / 383.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1171, allocations: 8 kB / 383.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00108/0.1182, allocations: 422.9 kB / 383.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1182, allocations: 4 kB / 383.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.1182, allocations: 4 kB / 383.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004653/0.1187, allocations: 113.7 kB / 383.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.1189, allocations: 39.92 kB / 383.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004487/0.1234, allocations: 3.3 MB / 387.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.1236, allocations: 31.83 kB / 387.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.1236, allocations: 8 kB / 387.1 MB, free: 7.195 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.0002052/0.1238, allocations: 161.8 kB / 387.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.1239, allocations: 23.86 kB / 387.3 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.662e-05/0.124, allocations: 26.11 kB / 387.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.124, allocations: 4 kB / 387.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.124, allocations: 3.938 kB / 387.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.124, allocations: 0 / 387.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.1243, allocations: 245.2 kB / 387.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1243, allocations: 0 / 387.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.99e-05/0.1244, allocations: 11.98 kB / 387.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003713/0.1248, allocations: 117.7 kB / 387.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.1248, allocations: 4 kB / 387.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003737/0.1285, allocations: 3.214 MB / 390.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1285, allocations: 7.969 kB / 390.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009373/0.1294, allocations: 424.8 kB / 391.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.1295, allocations: 31.81 kB / 391.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.1295, allocations: 3.938 kB / 391.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.1298, allocations: 31.97 kB / 391.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.1298, allocations: 23.84 kB / 391.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.1298, allocations: 4 kB / 391.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002085/0.13, allocations: 193.2 kB / 391.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.13, allocations: 0 / 391.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005156/0.1306, allocations: 107.7 kB / 391.7 MB, free: 2.316 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.0001292/0.1307, allocations: 103.2 kB / 391.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.1319, allocations: 0.4937 MB / 392.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1319, allocations: 4.062 kB / 392.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004738/0.1323, allocations: 337.2 kB / 392.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.1327, allocations: 35.45 kB / 392.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.1339, allocations: 0.5782 MB / 393.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.1341, allocations: 172.8 kB / 393.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.822e-05/0.1342, allocations: 26.28 kB / 393.5 MB, free: 484 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.1342, allocations: 16.5 kB / 393.5 MB, free: 468 kB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1342, allocations: 0 / 393.5 MB, free: 468 kB / 350.1 MB Notification: Performance of Templates: time 0.008522/0.1428, allocations: 3.586 MB / 397.1 MB, free: 12.92 MB / 366.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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.323826331994496]