Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.0007693/0.0007693, allocations: 84 kB / 21.43 MB, free: 3.129 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.00351/0.00351, allocations: 151 kB / 24.68 MB, free: 9.426 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.8483/0.8483, allocations: 173.4 MB / 201.2 MB, free: 9.438 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.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 319.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.441e-05, allocations: 2.281 kB / 319.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.002869/0.002894, allocations: 2.94 MB / 322.7 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.004087, allocations: 0.7323 MB / 323.4 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.004221, allocations: 4 kB / 323.4 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.004367, allocations: 67.36 kB / 323.5 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.004518, allocations: 115 kB / 323.6 MB, free: 1.934 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.00477, allocations: 127.7 kB / 323.7 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.005075, allocations: 462 kB / 324.2 MB, free: 1.355 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.005279, allocations: 104.5 kB / 324.3 MB, free: 1.254 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.005538, allocations: 259.4 kB / 324.5 MB, free: 1 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.005674, allocations: 131.6 kB / 324.6 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.89e-05/0.005723, allocations: 40 kB / 324.7 MB, free: 0.832 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.422e-05/0.005757, allocations: 44 kB / 324.7 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.005806, allocations: 87.67 kB / 324.8 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.537e-05/0.005891, allocations: 139.7 kB / 324.9 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003659/0.006257, allocations: 0.5023 MB / 325.5 MB, free: 64 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.006261, allocations: 4 kB / 325.5 MB, free: 60 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.006262, allocations: 3.938 kB / 325.5 MB, free: 56 kB / 282.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.006268, allocations: 0 / 325.5 MB, free: 56 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007526/0.00702, allocations: 0.5988 MB / 326.1 MB, free: 15.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.007057, allocations: 8.922 kB / 326.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.304e-05/0.00712, allocations: 44.66 kB / 326.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.007446, allocations: 245.1 kB / 326.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.007467, allocations: 25.02 kB / 326.4 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.007494, allocations: 28.38 kB / 326.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.007942, allocations: 426.7 kB / 326.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.007953, allocations: 4.188 kB / 326.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.007975, allocations: 8.375 kB / 326.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.007984, allocations: 11.94 kB / 326.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003421/0.008326, allocations: 270.4 kB / 327.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.009509, allocations: 1.064 MB / 328.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.009867, allocations: 206.7 kB / 328.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.009984, allocations: 92.8 kB / 328.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.01, allocations: 0 / 328.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.01002, allocations: 38.56 kB / 328.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 9.62e-07/0.01002, allocations: 0 / 328.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001099/0.01112, allocations: 0.5635 MB / 329.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.01116, allocations: 59.34 kB / 329.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.01136, allocations: 269.8 kB / 329.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.01138, allocations: 37.7 kB / 329.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.01148, allocations: 216.2 kB / 329.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.01151, allocations: 55.53 kB / 329.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/0.01157, allocations: 49.66 kB / 329.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.329e-05/0.01165, allocations: 334.8 kB / 330.1 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.01176, allocations: 75.95 kB / 330.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.01216, allocations: 166 kB / 330.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.01242, allocations: 250.1 kB / 330.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01242, allocations: 0 / 330.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005091/0.01293, allocations: 408.8 kB / 330.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.01294, allocations: 8 kB / 331 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.01295, allocations: 4 kB / 331 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002836/0.01324, allocations: 104.8 kB / 331.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.897e-05/0.01332, allocations: 43.92 kB / 331.1 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001776/0.0151, allocations: 2.024 MB / 333.1 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.01522, allocations: 27.83 kB / 333.2 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.01524, allocations: 12 kB / 333.2 MB, free: 7.938 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (22): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.01537, allocations: 153.7 kB / 333.3 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.0154, allocations: 23.86 kB / 333.3 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.01543, allocations: 29.77 kB / 333.4 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01543, allocations: 0 / 333.4 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.01543, allocations: 4 kB / 333.4 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.01544, allocations: 3.984 kB / 333.4 MB, free: 7.723 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006919/0.01613, allocations: 0.6159 MB / 334 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.01614, allocations: 0 / 334 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.01618, allocations: 15.98 kB / 334 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001878/0.01637, allocations: 96.8 kB / 334.1 MB, free: 6.949 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.01638, allocations: 7.984 kB / 334.1 MB, free: 6.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/0.01788, allocations: 2.013 MB / 336.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01788, allocations: 3.938 kB / 336.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004428/0.01832, allocations: 404.5 kB / 336.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.01835, allocations: 23.86 kB / 336.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.01836, allocations: 3.938 kB / 336.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.549e-05/0.01846, allocations: 27.98 kB / 336.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.0185, allocations: 11.97 kB / 336.6 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.01851, allocations: 8 kB / 336.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.01863, allocations: 189.2 kB / 336.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01863, allocations: 0 / 336.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000325/0.01895, allocations: 95.78 kB / 336.9 MB, free: 4.059 MB / 298.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 (8): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001157/0.01907, allocations: 94.44 kB / 337 MB, free: 3.961 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004648/0.01953, allocations: 345.9 kB / 337.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01953, allocations: 0 / 337.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004156/0.01995, allocations: 223.2 kB / 337.5 MB, free: 3.383 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.02022, allocations: 40.42 kB / 337.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007141/0.02094, allocations: 0.567 MB / 338.1 MB, free: 2.742 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.908e-05/0.02104, allocations: 164.8 kB / 338.3 MB, free: 2.559 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.02108, allocations: 16.5 kB / 338.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02108, allocations: 0 / 338.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of Templates: time 0.004382/0.02546, allocations: 4.699 MB / 343 MB, free: 13.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.007771015167236]