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.001776/0.001776, allocations: 119.4 kB / 18.41 MB, free: 4.539 MB / 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.002009/0.002009, allocations: 188.3 kB / 21.34 MB, free: 1.605 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.473/1.473, allocations: 222.9 MB / 247 MB, free: 4.195 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.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 0.00153/0.00153, allocations: 51.92 kB / 358.7 MB, free: 8.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09331/0.09485, allocations: 49.44 MB / 408.1 MB, free: 6.793 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004775/0.09967, allocations: 3.178 MB / 411.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.1013, allocations: 0.7518 MB / 412.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.1015, allocations: 11.94 kB / 412.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.1017, allocations: 59.42 kB / 412.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.1019, allocations: 111 kB / 412.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.1022, allocations: 119.8 kB / 412.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004877/0.1027, allocations: 450.1 kB / 412.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002807/0.103, allocations: 159.8 kB / 413 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.1033, allocations: 163.4 kB / 413.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.1035, allocations: 183.2 kB / 413.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.57e-05/0.1036, allocations: 44 kB / 413.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.363e-05/0.1037, allocations: 44 kB / 413.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.652e-05/0.1038, allocations: 87.69 kB / 413.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.104, allocations: 203 kB / 413.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005471/0.1046, allocations: 0.4942 MB / 414.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1046, allocations: 4 kB / 414.2 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1046, allocations: 0 / 414.2 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1046, allocations: 0 / 414.2 MB, free: 0.7383 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001136/0.1057, allocations: 0.6662 MB / 414.8 MB, free: 24 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.1058, allocations: 8.031 kB / 414.8 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.869e-05/0.1059, allocations: 41.5 kB / 414.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004573/0.1063, allocations: 315.5 kB / 415.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.1064, allocations: 25.02 kB / 415.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.1064, allocations: 32.38 kB / 415.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006804/0.1071, allocations: 344.6 kB / 415.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1071, allocations: 11.94 kB / 415.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.1072, allocations: 8 kB / 415.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.1072, allocations: 8 kB / 415.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006459/0.1078, allocations: 266.5 kB / 415.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/0.11, allocations: 1.264 MB / 417.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006636/0.1107, allocations: 295.8 kB / 417.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.1109, allocations: 100.8 kB / 417.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.111, allocations: 7.922 kB / 417.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.111, allocations: 42.5 kB / 417.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.111, allocations: 0 / 417.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002286/0.1133, allocations: 0.6332 MB / 418.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.1134, allocations: 55.41 kB / 418.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.1138, allocations: 298.9 kB / 418.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.1138, allocations: 25.7 kB / 418.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.114, allocations: 220.3 kB / 418.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.847e-05/0.114, allocations: 55.53 kB / 418.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.323e-05/0.1141, allocations: 53.66 kB / 418.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1143, allocations: 334.8 kB / 419.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.1146, allocations: 83.89 kB / 419.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.1149, allocations: 162.2 kB / 419.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005129/0.1154, allocations: 251.9 kB / 419.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1154, allocations: 3.938 kB / 419.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001078/0.1165, allocations: 404.3 kB / 420.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1165, allocations: 4 kB / 420.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1165, allocations: 4 kB / 420.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004779/0.117, allocations: 112.8 kB / 420.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.1172, allocations: 35.98 kB / 420.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00341/0.1206, allocations: 2.182 MB / 422.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.1209, allocations: 35.84 kB / 422.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.1209, allocations: 15.98 kB / 422.5 MB, free: 7.898 MB / 350.1 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.0001946/0.1211, allocations: 145.8 kB / 422.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.1212, allocations: 31.8 kB / 422.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.1212, allocations: 25.91 kB / 422.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1212, allocations: 4 kB / 422.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.1213, allocations: 4 kB / 422.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1213, allocations: 3.938 kB / 422.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.1227, allocations: 0.7204 MB / 423.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.1227, allocations: 3.938 kB / 423.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.133e-05/0.1228, allocations: 19.92 kB / 423.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003646/0.1232, allocations: 104.8 kB / 423.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1232, allocations: 7.938 kB / 423.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00308/0.1263, allocations: 2.159 MB / 425.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1263, allocations: 0 / 425.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009443/0.1272, allocations: 408.5 kB / 426.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-05/0.1274, allocations: 104.9 kB / 426.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.1274, allocations: 0 / 426.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.1276, allocations: 31.92 kB / 426.2 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.1277, allocations: 7.984 kB / 426.3 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.1277, allocations: 11.98 kB / 426.3 MB, free: 3.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000234/0.128, allocations: 210 kB / 426.5 MB, free: 3.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.128, allocations: 3.938 kB / 426.5 MB, free: 3.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004942/0.1285, allocations: 91.84 kB / 426.6 MB, free: 3.574 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 (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.000134/0.1286, allocations: 103.2 kB / 426.7 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007729/0.1294, allocations: 342.9 kB / 427 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1294, allocations: 4.125 kB / 427 MB, free: 3.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003885/0.1298, allocations: 226.5 kB / 427.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.1302, allocations: 59.59 kB / 427.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1314, allocations: 0.572 MB / 427.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.1318, allocations: 0.7713 MB / 428.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.1319, allocations: 19.44 kB / 428.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1319, allocations: 4 kB / 428.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of Templates: time 0.1805/0.3124, allocations: 4.703 MB / 433.4 MB, free: 21.6 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.310751453973353]