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.001616/0.001616, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001852/0.001852, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.402/1.402, allocations: 230.6 MB / 258.3 MB, free: 7.977 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+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 0.00165/0.00165, allocations: 47.92 kB / 379.1 MB, free: 2.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2338, allocations: 53.35 MB / 432.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.005093/0.2389, allocations: 3.432 MB / 435.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.2408, allocations: 0.8649 MB / 436.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.2411, allocations: 8 kB / 436.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.2413, allocations: 63.36 kB / 436.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.2417, allocations: 134.9 kB / 436.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.2421, allocations: 147.8 kB / 437.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006632/0.2428, allocations: 0.4902 MB / 437.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002713/0.2431, allocations: 137 kB / 437.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003696/0.2434, allocations: 191.4 kB / 437.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003366/0.2438, allocations: 199.1 kB / 438.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.259e-05/0.2438, allocations: 56 kB / 438.1 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.244, allocations: 52 kB / 438.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.098e-05/0.2441, allocations: 99.67 kB / 438.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002331/0.2443, allocations: 222.9 kB / 438.5 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006694/0.245, allocations: 0.5629 MB / 439 MB, free: 292 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.245, allocations: 0 / 439 MB, free: 292 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.245, allocations: 0 / 439 MB, free: 292 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.245, allocations: 0 / 439 MB, free: 292 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.001312/0.2463, allocations: 0.6378 MB / 439.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2463, allocations: 8.031 kB / 439.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.2465, allocations: 56.64 kB / 439.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005108/0.247, allocations: 274.7 kB / 440 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.2471, allocations: 29.31 kB / 440 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/0.2471, allocations: 36.12 kB / 440.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007397/0.2479, allocations: 386.2 kB / 440.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.2479, allocations: 8 kB / 440.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.2479, allocations: 12 kB / 440.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.2479, allocations: 12 kB / 440.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006695/0.2486, allocations: 295.8 kB / 440.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.251, allocations: 1.396 MB / 442.2 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006302/0.2516, allocations: 226.7 kB / 442.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.2518, allocations: 91.91 kB / 442.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.2519, allocations: 0 / 442.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.2519, allocations: 38.56 kB / 442.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 9.22e-07/0.2519, allocations: 0 / 442.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002135/0.254, allocations: 0.6043 MB / 443.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.2541, allocations: 59.34 kB / 443.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.2544, allocations: 320.5 kB / 443.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.2545, allocations: 25.7 kB / 443.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.2546, allocations: 240.2 kB / 443.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.645e-05/0.2547, allocations: 59.48 kB / 443.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-05/0.2548, allocations: 49.7 kB / 443.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.255, allocations: 338.8 kB / 444.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.2552, allocations: 83.97 kB / 444.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.2554, allocations: 157.4 kB / 444.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/0.2559, allocations: 256.2 kB / 444.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2559, allocations: 0 / 444.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001087/0.257, allocations: 423 kB / 445.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.257, allocations: 8 kB / 445.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.257, allocations: 0 / 445.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00045/0.2575, allocations: 117.7 kB / 445.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.2577, allocations: 43.92 kB / 445.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004257/0.2619, allocations: 3.357 MB / 448.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.2622, allocations: 43.78 kB / 448.7 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.2622, allocations: 12 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.0001881/0.2624, allocations: 153.8 kB / 448.8 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-05/0.2624, allocations: 35.75 kB / 448.9 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.204e-05/0.2625, allocations: 30.25 kB / 448.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2625, allocations: 0 / 448.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2625, allocations: 0 / 448.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2625, allocations: 0 / 448.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.2629, allocations: 344.5 kB / 449.2 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.2629, allocations: 7.984 kB / 449.2 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.884e-05/0.263, allocations: 11.94 kB / 449.2 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003768/0.2634, allocations: 117.6 kB / 449.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.2634, allocations: 4 kB / 449.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00371/0.2671, allocations: 3.264 MB / 452.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2671, allocations: 0 / 452.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009104/0.268, allocations: 428.8 kB / 453 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.74e-05/0.2681, allocations: 31.78 kB / 453.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.2681, allocations: 4 kB / 453.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.2684, allocations: 27.97 kB / 453.1 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.2684, allocations: 12.11 kB / 453.1 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.2684, allocations: 15.92 kB / 453.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002695/0.2687, allocations: 223.1 kB / 453.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2687, allocations: 0 / 453.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005218/0.2692, allocations: 103.8 kB / 453.5 MB, free: 1.027 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.0001559/0.2694, allocations: 107.2 kB / 453.6 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.2705, allocations: 0.5011 MB / 454.1 MB, free: 392 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2705, allocations: 0 / 454.1 MB, free: 392 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004619/0.271, allocations: 336.5 kB / 454.4 MB, free: 32 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.2714, allocations: 56.84 kB / 454.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.2727, allocations: 0.6158 MB / 455.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.2732, allocations: 0.7795 MB / 455.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.286e-05/0.2733, allocations: 19.44 kB / 455.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2733, allocations: 0 / 455.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Templates: time 0.009989/0.2832, allocations: 6.805 MB / 462.7 MB, free: 7.707 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins1/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: 7.335956900147721]