Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.001854/0.001854, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002232/0.002232, allocations: 165.3 kB / 24.28 MB, free: 156 kB / 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 1.614/1.614, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 272.4 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.667e-05/3.834e-05, allocations: 2.312 kB / 272.4 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.005087/0.005126, allocations: 3.165 MB / 275.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.006808, allocations: 0.7907 MB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.006976, allocations: 7.938 kB / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.007191, allocations: 67.36 kB / 276.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.007445, allocations: 115 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.007835, allocations: 131.8 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006682/0.008503, allocations: 465.9 kB / 277.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.008759, allocations: 108.4 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004254/0.009185, allocations: 267.4 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.009414, allocations: 135.6 kB / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.137e-05/0.009485, allocations: 44 kB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.0096, allocations: 47.98 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.158e-05/0.009692, allocations: 91.69 kB / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.009862, allocations: 139.7 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006513/0.01051, allocations: 0.5101 MB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.01052, allocations: 7.922 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01052, allocations: 0 / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.01053, allocations: 4 kB / 278.4 MB, free: 11.72 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001269/0.0118, allocations: 0.7138 MB / 279.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.01184, allocations: 8.031 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002326/0.01207, allocations: 72.69 kB / 279.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.01251, allocations: 255.9 kB / 279.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.01254, allocations: 29.03 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.2e-05/0.01259, allocations: 28.38 kB / 279.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007537/0.01334, allocations: 444.4 kB / 280 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.01336, allocations: 192 / 280 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.0134, allocations: 16.38 kB / 280 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.01342, allocations: 11.94 kB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005841/0.01401, allocations: 246.5 kB / 280.2 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/0.01633, allocations: 1.296 MB / 281.5 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005561/0.01688, allocations: 194.6 kB / 281.7 MB, free: 8.266 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.01708, allocations: 87.66 kB / 281.8 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.01711, allocations: 0 / 281.8 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.01716, allocations: 41.33 kB / 281.8 MB, free: 8.125 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 9.32e-07/0.01716, allocations: 4 kB / 281.8 MB, free: 8.121 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.001815/0.01897, allocations: 472.7 kB / 282.3 MB, free: 7.648 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.01903, allocations: 59.39 kB / 282.4 MB, free: 7.578 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/0.01951, allocations: 376.2 kB / 282.7 MB, free: 7.195 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.01954, allocations: 29.7 kB / 282.8 MB, free: 7.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.01978, allocations: 286.8 kB / 283 MB, free: 6.875 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/0.01984, allocations: 59.52 kB / 283.1 MB, free: 6.816 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.01996, allocations: 59.36 kB / 283.2 MB, free: 6.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003194/0.02027, allocations: 0.5118 MB / 283.7 MB, free: 6.227 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.02048, allocations: 71.97 kB / 283.7 MB, free: 6.156 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.0208, allocations: 192.1 kB / 283.9 MB, free: 5.918 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007188/0.02152, allocations: 266.1 kB / 284.2 MB, free: 5.609 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.02152, allocations: 4 kB / 284.2 MB, free: 5.605 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009628/0.02249, allocations: 380.8 kB / 284.6 MB, free: 5.223 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.02251, allocations: 8 kB / 284.6 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.02252, allocations: 0 / 284.6 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006669/0.02319, allocations: 131.7 kB / 284.7 MB, free: 5.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.02335, allocations: 35.92 kB / 284.7 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003469/0.02682, allocations: 2.57 MB / 287.3 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.02707, allocations: 31.8 kB / 287.3 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.02709, allocations: 12 kB / 287.3 MB, free: 2.316 MB / 266.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.0003039/0.0274, allocations: 196.5 kB / 287.5 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.028e-05/0.02747, allocations: 35.84 kB / 287.6 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.825e-05/0.02754, allocations: 25.78 kB / 287.6 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.02754, allocations: 0 / 287.6 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.02754, allocations: 0 / 287.6 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.02755, allocations: 3.984 kB / 287.6 MB, free: 2.047 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.02885, allocations: 0.6806 MB / 288.3 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.02885, allocations: 7.938 kB / 288.3 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.676e-05/0.02893, allocations: 12 kB / 288.3 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005823/0.02951, allocations: 135.6 kB / 288.4 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.02952, allocations: 0 / 288.4 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003184/0.03271, allocations: 2.54 MB / 291 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.03271, allocations: 4 kB / 291 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009675/0.03368, allocations: 430.6 kB / 291.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/0.03374, allocations: 31.78 kB / 291.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.03377, allocations: 7.875 kB / 291.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.03396, allocations: 23.98 kB / 291.5 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.03402, allocations: 7.984 kB / 291.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.03403, allocations: 4 kB / 291.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002796/0.03431, allocations: 249.1 kB / 291.7 MB, free: 13.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03431, allocations: 0 / 291.7 MB, free: 13.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005183/0.03483, allocations: 91.84 kB / 291.8 MB, free: 13.64 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 (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.0001753/0.03501, allocations: 95.25 kB / 291.9 MB, free: 13.54 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008469/0.03585, allocations: 408.7 kB / 292.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.03586, allocations: 0 / 292.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004379/0.03629, allocations: 290 kB / 292.6 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.03669, allocations: 48.5 kB / 292.6 MB, free: 12.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.03793, allocations: 0.5261 MB / 293.2 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.03812, allocations: 168.7 kB / 293.3 MB, free: 12.03 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.962e-05/0.03821, allocations: 26.17 kB / 293.3 MB, free: 12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.03826, allocations: 20.5 kB / 293.4 MB, free: 11.98 MB / 282.7 MB Notification: Performance of SimCode: time 1.453e-06/0.03826, allocations: 0 / 293.4 MB, free: 11.98 MB / 282.7 MB Notification: Performance of Templates: time 0.008286/0.04655, allocations: 3.272 MB / 296.6 MB, free: 8.754 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.722540935035795]