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.001878/0.001878, allocations: 113 kB / 19.04 MB, free: 3.254 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.00314/0.00314, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.469/1.469, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.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.001575/0.001575, allocations: 55.84 kB / 368.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2753, allocations: 52.14 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004783/0.2801, allocations: 3.223 MB / 424.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.2815, allocations: 0.7674 MB / 424.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.2817, allocations: 8 kB / 424.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.2819, allocations: 59.42 kB / 425 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.2821, allocations: 111 kB / 425.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.2824, allocations: 119.8 kB / 425.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004918/0.2829, allocations: 450.2 kB / 425.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002469/0.2831, allocations: 111.9 kB / 425.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.2834, allocations: 175.3 kB / 425.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.2836, allocations: 183.2 kB / 426.1 MB, free: 9.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.861e-05/0.2837, allocations: 40 kB / 426.1 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.279e-05/0.2837, allocations: 44 kB / 426.2 MB, free: 9.809 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.07e-05/0.2838, allocations: 83.7 kB / 426.2 MB, free: 9.727 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.2841, allocations: 191.1 kB / 426.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005706/0.2846, allocations: 0.5032 MB / 426.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2846, allocations: 0 / 426.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2846, allocations: 0 / 426.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.2847, allocations: 0 / 426.9 MB, free: 9.039 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.00119/0.2858, allocations: 0.6662 MB / 427.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.2859, allocations: 16.03 kB / 427.6 MB, free: 8.309 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.467e-05/0.286, allocations: 40.7 kB / 427.7 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.2864, allocations: 307.7 kB / 428 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.2865, allocations: 25.03 kB / 428 MB, free: 7.906 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.681e-05/0.2865, allocations: 28.38 kB / 428 MB, free: 7.879 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006686/0.2872, allocations: 353.4 kB / 428.4 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.2872, allocations: 0 / 428.4 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.2872, allocations: 16 kB / 428.4 MB, free: 7.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.2873, allocations: 8 kB / 428.4 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005914/0.2878, allocations: 270.4 kB / 428.6 MB, free: 7.234 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/0.2899, allocations: 1.261 MB / 429.9 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006359/0.2906, allocations: 287.7 kB / 430.2 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.2908, allocations: 84.83 kB / 430.3 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.2908, allocations: 11.98 kB / 430.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.2908, allocations: 30.56 kB / 430.3 MB, free: 5.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/0.2908, allocations: 0 / 430.3 MB, free: 5.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002155/0.293, allocations: 0.6422 MB / 430.9 MB, free: 4.777 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.293, allocations: 51.41 kB / 431 MB, free: 4.715 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/0.2934, allocations: 295 kB / 431.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.2935, allocations: 29.7 kB / 431.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.2936, allocations: 228.2 kB / 431.5 MB, free: 4.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.2937, allocations: 51.59 kB / 431.6 MB, free: 4.109 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.394e-05/0.2938, allocations: 49.66 kB / 431.6 MB, free: 4.055 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.2939, allocations: 334.8 kB / 432 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.2941, allocations: 79.95 kB / 432 MB, free: 3.641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.2944, allocations: 170.2 kB / 432.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/0.2948, allocations: 242.1 kB / 432.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2948, allocations: 4 kB / 432.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009415/0.2958, allocations: 402 kB / 432.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.2958, allocations: 15.06 kB / 432.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2958, allocations: 4 kB / 432.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004332/0.2962, allocations: 104.9 kB / 433 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.2964, allocations: 43.92 kB / 433 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/0.2994, allocations: 2.178 MB / 435.2 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.2997, allocations: 31.84 kB / 435.2 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.2997, allocations: 15.92 kB / 435.2 MB, free: 236 kB / 334.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.0001657/0.2998, allocations: 157.7 kB / 435.4 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.202e-05/0.2999, allocations: 27.81 kB / 435.4 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.53e-05/0.3, allocations: 33.91 kB / 435.4 MB, free: 0 / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.3, allocations: 208 / 435.4 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3, allocations: 3.938 kB / 435.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3, allocations: 0 / 435.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.3013, allocations: 0.714 MB / 436.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3013, allocations: 0 / 436.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.3013, allocations: 15.98 kB / 436.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003283/0.3017, allocations: 104.8 kB / 436.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.3017, allocations: 3.938 kB / 436.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002849/0.3045, allocations: 2.163 MB / 438.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.3045, allocations: 7.875 kB / 438.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008455/0.3054, allocations: 404.5 kB / 438.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.921e-05/0.3055, allocations: 108.9 kB / 439 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.3055, allocations: 4 kB / 439 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.3057, allocations: 19.98 kB / 439 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.3057, allocations: 11.98 kB / 439 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.3057, allocations: 11.98 kB / 439 MB, free: 12.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002207/0.306, allocations: 209.9 kB / 439.2 MB, free: 12 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.306, allocations: 4 kB / 439.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004539/0.3064, allocations: 87.83 kB / 439.3 MB, free: 11.91 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.0001459/0.3066, allocations: 103.2 kB / 439.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007297/0.3073, allocations: 338.2 kB / 439.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3073, allocations: 0 / 439.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003663/0.3077, allocations: 226.5 kB / 439.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.3081, allocations: 45.41 kB / 440 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.3092, allocations: 0.5703 MB / 440.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.3096, allocations: 0.7753 MB / 441.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.759e-05/0.3097, allocations: 22.23 kB / 441.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.3097, allocations: 23.44 kB / 441.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3097, allocations: 0 / 441.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of Templates: time 0.008319/0.318, allocations: 3.787 MB / 445.2 MB, free: 5.953 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/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.618585645221174]