Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001158/0.001158, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002693, allocations: 62.59 kB / 307 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1279, allocations: 50.54 MB / 357.5 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.005343/0.1333, allocations: 3.206 MB / 360.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.1351, allocations: 0.818 MB / 361.6 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.1353, allocations: 8 kB / 361.6 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.1356, allocations: 59.38 kB / 361.6 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.1359, allocations: 111.1 kB / 361.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.1363, allocations: 135.8 kB / 361.9 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005607/0.1369, allocations: 442.2 kB / 362.3 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003204/0.1372, allocations: 159.9 kB / 362.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.1375, allocations: 167.4 kB / 362.6 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.1378, allocations: 183.2 kB / 362.8 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.313e-05/0.1378, allocations: 48 kB / 362.9 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.138, allocations: 44 kB / 362.9 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.316e-05/0.1381, allocations: 87.69 kB / 363 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.1383, allocations: 199.1 kB / 363.2 MB, free: 8.324 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005383/0.1388, allocations: 0.4947 MB / 363.7 MB, free: 7.828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1388, allocations: 0 / 363.7 MB, free: 7.828 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1389, allocations: 4 kB / 363.7 MB, free: 7.824 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1389, allocations: 0 / 363.7 MB, free: 7.824 MB / 302.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.001156/0.14, allocations: 0.6626 MB / 364.3 MB, free: 7.113 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1401, allocations: 8.031 kB / 364.3 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.1403, allocations: 56.39 kB / 364.4 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.1407, allocations: 311.5 kB / 364.7 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.1407, allocations: 21.03 kB / 364.7 MB, free: 6.688 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.223e-05/0.1408, allocations: 32.38 kB / 364.8 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006867/0.1415, allocations: 353.3 kB / 365.1 MB, free: 6.305 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1415, allocations: 0 / 365.1 MB, free: 6.305 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.1415, allocations: 15.94 kB / 365.1 MB, free: 6.289 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.1416, allocations: 11.98 kB / 365.1 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006194/0.1422, allocations: 270.5 kB / 365.4 MB, free: 6.012 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.1444, allocations: 1.272 MB / 366.7 MB, free: 4.656 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006601/0.1451, allocations: 291.7 kB / 366.9 MB, free: 4.344 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.1454, allocations: 100.8 kB / 367 MB, free: 4.242 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.1454, allocations: 0 / 367 MB, free: 4.242 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.1454, allocations: 34.56 kB / 367.1 MB, free: 4.199 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.012e-06/0.1454, allocations: 0 / 367.1 MB, free: 4.199 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002251/0.1477, allocations: 0.6498 MB / 367.7 MB, free: 3.523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.1478, allocations: 51.41 kB / 367.8 MB, free: 3.461 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004225/0.1482, allocations: 298.9 kB / 368.1 MB, free: 3.156 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.1482, allocations: 29.64 kB / 368.1 MB, free: 3.121 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.1484, allocations: 219.7 kB / 368.3 MB, free: 2.898 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.246e-05/0.1485, allocations: 47.36 kB / 368.4 MB, free: 2.852 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-05/0.1486, allocations: 53.61 kB / 368.4 MB, free: 2.793 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1488, allocations: 338.8 kB / 368.7 MB, free: 2.453 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.149, allocations: 75.95 kB / 368.8 MB, free: 2.379 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.1493, allocations: 162.2 kB / 369 MB, free: 2.184 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005131/0.1498, allocations: 253 kB / 369.2 MB, free: 1.902 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1498, allocations: 0 / 369.2 MB, free: 1.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001091/0.1509, allocations: 409.9 kB / 369.6 MB, free: 1.492 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.1509, allocations: 7.938 kB / 369.6 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.151, allocations: 4 kB / 369.6 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004565/0.1514, allocations: 104.8 kB / 369.7 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.1516, allocations: 47.86 kB / 369.8 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1634/0.315, allocations: 2.165 MB / 371.9 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.3153, allocations: 36.02 kB / 372 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.3154, allocations: 12.38 kB / 372 MB, free: 18.77 MB / 302.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.0001624/0.3155, allocations: 151.7 kB / 372.1 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.987e-05/0.3156, allocations: 26.66 kB / 372.2 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.349e-05/0.3156, allocations: 30.44 kB / 372.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3157, allocations: 4.016 kB / 372.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3157, allocations: 0.5156 kB / 372.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.3157, allocations: 2.031 kB / 372.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.3169, allocations: 0.7271 MB / 372.9 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3169, allocations: 0 / 372.9 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.834e-05/0.317, allocations: 17.36 kB / 373 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003523/0.3174, allocations: 99.52 kB / 373 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.3174, allocations: 1.625 kB / 373 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00258/0.32, allocations: 2.163 MB / 375.2 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.32, allocations: 5.781 kB / 375.2 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008795/0.3209, allocations: 409.5 kB / 375.6 MB, free: 16.65 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.86e-05/0.321, allocations: 110.6 kB / 375.7 MB, free: 16.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.321, allocations: 1.031 kB / 375.7 MB, free: 16.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.3212, allocations: 23.12 kB / 375.7 MB, free: 16.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/0.3213, allocations: 14.34 kB / 375.8 MB, free: 16.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.3213, allocations: 7.859 kB / 375.8 MB, free: 16.53 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002478/0.3216, allocations: 211.1 kB / 376 MB, free: 16.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3216, allocations: 0 / 376 MB, free: 16.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005341/0.3221, allocations: 94.72 kB / 376.1 MB, free: 16.39 MB / 302.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.0001663/0.3223, allocations: 98.06 kB / 376.2 MB, free: 16.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007366/0.3231, allocations: 352.9 kB / 376.5 MB, free: 16.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3231, allocations: 0 / 376.5 MB, free: 16.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003216/0.3234, allocations: 226.2 kB / 376.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.3238, allocations: 51.08 kB / 376.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009779/0.3248, allocations: 0.545 MB / 377.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.325, allocations: 0.7799 MB / 378.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.3251, allocations: 25.19 kB / 378.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.3252, allocations: 23.97 kB / 378.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3252, allocations: 0 / 378.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of Templates: time 0.00853/0.3337, allocations: 3.617 MB / 381.8 MB, free: 14.72 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches