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.001097/0.001097, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009143/0.0009143, allocations: 145.2 kB / 24.89 MB, free: 9.215 MB / 18.57 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 0.9321/0.9321, allocations: 173.4 MB / 201.5 MB, free: 9.211 MB / 186.7 MB " [Timeout remaining time 179] 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 1.062e-06/1.062e-06, allocations: 0 / 268.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.567e-05, allocations: 2.312 kB / 268.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.003062/0.003078, allocations: 3.32 MB / 271.8 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.00432, allocations: 0.8179 MB / 272.6 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.004462, allocations: 7.938 kB / 272.7 MB, free: 2 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.004616, allocations: 71.36 kB / 272.7 MB, free: 1.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.004801, allocations: 126.8 kB / 272.9 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.005067, allocations: 143.7 kB / 273 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000359/0.005426, allocations: 0.5056 MB / 273.5 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.005596, allocations: 122 kB / 273.6 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.005854, allocations: 291.4 kB / 273.9 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.006065, allocations: 159.6 kB / 274.1 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.06e-05/0.006116, allocations: 52 kB / 274.1 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.281e-05/0.006159, allocations: 51.94 kB / 274.2 MB, free: 496 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.562e-05/0.006214, allocations: 99.66 kB / 274.3 MB, free: 396 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.588e-05/0.00631, allocations: 151.7 kB / 274.4 MB, free: 244 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.006578, allocations: 322.8 kB / 274.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.00658, allocations: 0 / 274.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006581, allocations: 0 / 274.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.006584, allocations: 4 kB / 274.7 MB, free: 15.92 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.0006192/0.007203, allocations: 0.5935 MB / 275.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.007232, allocations: 8.922 kB / 275.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/0.007296, allocations: 56.89 kB / 275.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.007513, allocations: 229.9 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.007531, allocations: 25.38 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.007564, allocations: 36.38 kB / 275.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/0.007875, allocations: 386.2 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.007886, allocations: 7.875 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.007907, allocations: 16 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.007915, allocations: 8 kB / 276.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.008032, allocations: 90.95 kB / 276.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.009065, allocations: 1.038 MB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.009266, allocations: 130.4 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.866e-05/0.009305, allocations: 36.84 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.009319, allocations: 4 kB / 277.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.009336, allocations: 30.56 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.009338, allocations: 0 / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006356/0.009973, allocations: 343.1 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.009994, allocations: 51.41 kB / 277.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.01013, allocations: 248.9 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.01015, allocations: 33.7 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/0.01022, allocations: 220.5 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.01025, allocations: 59.48 kB / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.0103, allocations: 49.67 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.785e-05/0.01039, allocations: 342.7 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.005e-05/0.01042, allocations: 16 kB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-05/0.01048, allocations: 105.4 kB / 278.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.0106, allocations: 149.2 kB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.0106, allocations: 3.984 kB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002706/0.01087, allocations: 226.1 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.01089, allocations: 8 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.01089, allocations: 0 / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002738/0.01116, allocations: 113.7 kB / 279.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.961e-05/0.01124, allocations: 35.92 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.01266, allocations: 2.714 MB / 282.1 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.722e-05/0.01274, allocations: 31.77 kB / 282.1 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.01275, allocations: 11.94 kB / 282.1 MB, free: 8.031 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 8.091e-05/0.01283, allocations: 121.8 kB / 282.2 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.01287, allocations: 27.92 kB / 282.3 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.0129, allocations: 30.27 kB / 282.3 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.0129, allocations: 4 kB / 282.3 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.0129, allocations: 4 kB / 282.3 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01291, allocations: 3.984 kB / 282.3 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.01305, allocations: 173.6 kB / 282.5 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01305, allocations: 0 / 282.5 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.01308, allocations: 8 kB / 282.5 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002002/0.01328, allocations: 105.6 kB / 282.6 MB, free: 7.523 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.01329, allocations: 7.938 kB / 282.6 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.01446, allocations: 2.671 MB / 285.3 MB, free: 4.672 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.01446, allocations: 3.938 kB / 285.3 MB, free: 4.668 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.01468, allocations: 257.1 kB / 285.5 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.01471, allocations: 31.75 kB / 285.5 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.01472, allocations: 0 / 285.5 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.64e-05/0.01481, allocations: 23.98 kB / 285.6 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.01484, allocations: 19.91 kB / 285.6 MB, free: 4.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.01485, allocations: 8 kB / 285.6 MB, free: 4.312 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.731e-05/0.01491, allocations: 82.77 kB / 285.7 MB, free: 4.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01491, allocations: 0 / 285.7 MB, free: 4.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00027/0.01518, allocations: 103.8 kB / 285.8 MB, free: 4.129 MB / 266.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 8.194e-05/0.01526, allocations: 88.34 kB / 285.9 MB, free: 4.035 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003525/0.01561, allocations: 389.2 kB / 286.2 MB, free: 3.629 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.01562, allocations: 4 kB / 286.2 MB, free: 3.625 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.01576, allocations: 294.5 kB / 286.5 MB, free: 3.309 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.01595, allocations: 44.45 kB / 286.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007259/0.01668, allocations: 0.531 MB / 287.1 MB, free: 2.711 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.805e-05/0.01672, allocations: 92.3 kB / 287.2 MB, free: 2.602 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.165e-05/0.01679, allocations: 26.33 kB / 287.2 MB, free: 2.574 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.876e-05/0.01688, allocations: 95.34 kB / 287.3 MB, free: 2.48 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01688, allocations: 0 / 287.3 MB, free: 2.48 MB / 266.7 MB Notification: Performance of Templates: time 0.08837/0.1053, allocations: 3.843 MB / 291.2 MB, free: 28.7 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.5163964349776506]