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.001214/0.001214, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.000938/0.000938, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 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 0.943/0.943, allocations: 177.1 MB / 206.1 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] 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 1.363e-06/1.363e-06, allocations: 0 / 274.2 MB, free: 4.367 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.684e-05, allocations: 2.312 kB / 274.2 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.003344/0.003361, allocations: 3.341 MB / 277.6 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.004581, allocations: 0.8407 MB / 278.4 MB, free: 184 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.004745, allocations: 11.94 kB / 278.4 MB, free: 172 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.004912, allocations: 71.28 kB / 278.5 MB, free: 100 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.005105, allocations: 131 kB / 278.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.005418, allocations: 147.8 kB / 278.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003984/0.005816, allocations: 0.5134 MB / 279.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.006019, allocations: 117.3 kB / 279.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003145/0.006334, allocations: 295.4 kB / 279.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.00651, allocations: 151.6 kB / 279.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.77e-05/0.006558, allocations: 55.94 kB / 279.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.649e-05/0.006634, allocations: 56 kB / 279.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.829e-05/0.006693, allocations: 103.6 kB / 280 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.006796, allocations: 147.7 kB / 280.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.007099, allocations: 326.9 kB / 280.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.007101, allocations: 0 / 280.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.007102, allocations: 0 / 280.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.007107, allocations: 0 / 280.5 MB, free: 14.07 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.0007518/0.007859, allocations: 0.7299 MB / 281.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.00789, allocations: 8.031 kB / 281.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.008036, allocations: 80.69 kB / 281.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.008296, allocations: 276.7 kB / 281.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.008318, allocations: 29.38 kB / 281.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.008353, allocations: 32.38 kB / 281.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.008696, allocations: 391.8 kB / 282 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.008707, allocations: 3.938 kB / 282 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.00873, allocations: 16 kB / 282.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.008738, allocations: 8 kB / 282.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.00887, allocations: 106.9 kB / 282.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.01015, allocations: 1.302 MB / 283.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.01039, allocations: 139.3 kB / 283.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.855e-05/0.01044, allocations: 43.59 kB / 283.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.01046, allocations: 12 kB / 283.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.01048, allocations: 33.39 kB / 283.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.01048, allocations: 0 / 283.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.000723/0.0112, allocations: 364.8 kB / 284 MB, free: 10.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.01123, allocations: 55.39 kB / 284.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.01148, allocations: 316 kB / 284.4 MB, free: 9.906 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.01149, allocations: 29.7 kB / 284.4 MB, free: 9.871 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.01161, allocations: 286.7 kB / 284.7 MB, free: 9.586 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.01163, allocations: 51.58 kB / 284.8 MB, free: 9.535 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.01169, allocations: 59.3 kB / 284.8 MB, free: 9.469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.01181, allocations: 0.5117 MB / 285.3 MB, free: 8.945 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.648e-05/0.01185, allocations: 23.97 kB / 285.4 MB, free: 8.922 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.644e-05/0.01193, allocations: 141.2 kB / 285.5 MB, free: 8.738 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.01207, allocations: 179.6 kB / 285.7 MB, free: 8.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01207, allocations: 0 / 285.7 MB, free: 8.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004802/0.01255, allocations: 272.6 kB / 285.9 MB, free: 8.238 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.01257, allocations: 8 kB / 285.9 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.01257, allocations: 4 kB / 286 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002962/0.01287, allocations: 115.3 kB / 286.1 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.54e-05/0.01296, allocations: 39.92 kB / 286.1 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.01528, allocations: 3.953 MB / 290.1 MB, free: 3.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.529e-05/0.01537, allocations: 31.83 kB / 290.1 MB, free: 3.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.01538, allocations: 4 kB / 290.1 MB, free: 3.859 MB / 266.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 9.857e-05/0.01548, allocations: 176.5 kB / 290.3 MB, free: 3.676 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.01552, allocations: 27.86 kB / 290.3 MB, free: 3.648 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.01555, allocations: 26.11 kB / 290.3 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.01555, allocations: 11.97 kB / 290.3 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.01555, allocations: 0 / 290.3 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01556, allocations: 0 / 290.3 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.01572, allocations: 201 kB / 290.5 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01572, allocations: 0 / 290.5 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.01576, allocations: 15.94 kB / 290.5 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002374/0.016, allocations: 119.4 kB / 290.7 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.016, allocations: 4 kB / 290.7 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001704/0.01771, allocations: 3.879 MB / 294.5 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01771, allocations: 0 / 294.5 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.018, allocations: 353.8 kB / 294.9 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.01803, allocations: 39.61 kB / 294.9 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.01805, allocations: 3.938 kB / 294.9 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.945e-05/0.01815, allocations: 23.98 kB / 295 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.01819, allocations: 15.97 kB / 295 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.0182, allocations: 8 kB / 295 MB, free: 14.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.559e-05/0.01829, allocations: 209.1 kB / 295.2 MB, free: 14.47 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01829, allocations: 0 / 295.2 MB, free: 14.47 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002998/0.01859, allocations: 99.78 kB / 295.3 MB, free: 14.37 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.0001009/0.01869, allocations: 99.25 kB / 295.4 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004825/0.01918, allocations: 0.4944 MB / 295.9 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01918, allocations: 0 / 295.9 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.01939, allocations: 415.7 kB / 296.3 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.01964, allocations: 36.53 kB / 296.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.02082, allocations: 0.5413 MB / 296.9 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.102e-05/0.02088, allocations: 92.3 kB / 296.9 MB, free: 12.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.17e-05/0.02094, allocations: 18.3 kB / 297 MB, free: 12.55 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.02106, allocations: 122.2 kB / 297.1 MB, free: 12.43 MB / 282.7 MB Notification: Performance of SimCode: time 1.001e-06/0.02106, allocations: 0 / 297.1 MB, free: 12.43 MB / 282.7 MB Notification: Performance of Templates: time 0.005846/0.0269, allocations: 3.991 MB / 301.1 MB, free: 8.508 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.895096065942198]