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.001468/0.001468, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001562/0.001562, allocations: 143.4 kB / 24.89 MB, free: 8.742 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.9345/0.9345, allocations: 173.4 MB / 201.6 MB, free: 8.258 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.102e-06/1.102e-06, allocations: 0 / 268.5 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.479e-05, allocations: 9.203 kB / 268.5 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003044/0.003059, allocations: 3.137 MB / 271.7 MB, free: 6.609 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.004158, allocations: 0.7724 MB / 272.4 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.004291, allocations: 7.938 kB / 272.4 MB, free: 5.828 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.004434, allocations: 59.42 kB / 272.5 MB, free: 5.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.004598, allocations: 120.6 kB / 272.6 MB, free: 5.652 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.004842, allocations: 128.3 kB / 272.7 MB, free: 5.527 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.005151, allocations: 458.7 kB / 273.2 MB, free: 5.078 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.005311, allocations: 119 kB / 273.3 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.005548, allocations: 253.3 kB / 273.6 MB, free: 4.715 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.005693, allocations: 143.6 kB / 273.7 MB, free: 4.574 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.467e-05/0.005738, allocations: 44 kB / 273.7 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.584e-05/0.005774, allocations: 44 kB / 273.8 MB, free: 4.488 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.005823, allocations: 81.47 kB / 273.9 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.903e-05/0.005912, allocations: 139.7 kB / 274 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.006155, allocations: 287 kB / 274.3 MB, free: 3.992 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.006157, allocations: 0 / 274.3 MB, free: 3.992 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.006157, allocations: 0 / 274.3 MB, free: 3.992 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.006161, allocations: 4.5 kB / 274.3 MB, free: 3.988 MB / 250.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.0005672/0.006728, allocations: 0.5634 MB / 274.8 MB, free: 3.402 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.006757, allocations: 12.03 kB / 274.9 MB, free: 3.391 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.006e-05/0.006817, allocations: 52.83 kB / 274.9 MB, free: 3.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.007015, allocations: 196.8 kB / 275.1 MB, free: 3.121 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.007032, allocations: 28.97 kB / 275.1 MB, free: 3.094 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.007061, allocations: 32.38 kB / 275.2 MB, free: 3.062 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.007349, allocations: 343.4 kB / 275.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.007358, allocations: 192 / 275.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.007376, allocations: 12.38 kB / 275.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-06/0.007385, allocations: 11.94 kB / 275.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.007489, allocations: 84.48 kB / 275.6 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000901/0.00839, allocations: 0.8898 MB / 276.5 MB, free: 1.648 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.008557, allocations: 117.5 kB / 276.6 MB, free: 1.527 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.008599, allocations: 32.84 kB / 276.6 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.008613, allocations: 4 kB / 276.6 MB, free: 1.488 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.008632, allocations: 34.55 kB / 276.7 MB, free: 1.445 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 9.42e-07/0.008633, allocations: 0 / 276.7 MB, free: 1.445 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005941/0.009227, allocations: 317 kB / 277 MB, free: 1.129 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.009249, allocations: 59.34 kB / 277 MB, free: 1.059 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.009382, allocations: 240.9 kB / 277.3 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.009395, allocations: 29.64 kB / 277.3 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.009469, allocations: 220 kB / 277.5 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.009492, allocations: 51.58 kB / 277.6 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.009541, allocations: 49.62 kB / 277.6 MB, free: 468 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002925/0.009833, allocations: 338.8 kB / 277.9 MB, free: 120 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.779e-05/0.009861, allocations: 16 kB / 278 MB, free: 104 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.362e-05/0.009934, allocations: 106.8 kB / 278.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.01004, allocations: 144.6 kB / 278.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01004, allocations: 0 / 278.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000238/0.01028, allocations: 222 kB / 278.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.01029, allocations: 8.344 kB / 278.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.0103, allocations: 7.984 kB / 278.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002351/0.01053, allocations: 88.8 kB / 278.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.456e-05/0.01061, allocations: 35.92 kB / 278.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009354/0.01154, allocations: 1.571 MB / 280.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.488e-05/0.01163, allocations: 23.84 kB / 280.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.01164, allocations: 8 kB / 280.2 MB, free: 13.72 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 7.402e-05/0.01171, allocations: 129.8 kB / 280.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.01174, allocations: 23.91 kB / 280.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.01176, allocations: 29.81 kB / 280.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01176, allocations: 3.984 kB / 280.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.01177, allocations: 0 / 280.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.01177, allocations: 4 kB / 280.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003621/0.01213, allocations: 379.4 kB / 280.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01213, allocations: 3.938 kB / 280.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.123e-05/0.01216, allocations: 20 kB / 280.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000174/0.01234, allocations: 92.77 kB / 280.8 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.01234, allocations: 0 / 280.8 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007889/0.01313, allocations: 1.549 MB / 282.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01313, allocations: 7.875 kB / 282.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.01333, allocations: 244.6 kB / 282.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.096e-05/0.01335, allocations: 23.8 kB / 282.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.01337, allocations: 4 kB / 282.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.187e-05/0.01345, allocations: 20.02 kB / 282.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.01348, allocations: 15.97 kB / 282.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.01348, allocations: 4 kB / 282.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.801e-05/0.01354, allocations: 86.66 kB / 282.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01354, allocations: 0 / 282.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002552/0.01379, allocations: 91.84 kB / 282.9 MB, free: 10.86 MB / 266.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 7.409e-05/0.01387, allocations: 80.41 kB / 283 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.01411, allocations: 262.9 kB / 283.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.01412, allocations: 4 kB / 283.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.01423, allocations: 178.6 kB / 283.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.0144, allocations: 37.17 kB / 283.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006942/0.01509, allocations: 0.515 MB / 283.9 MB, free: 9.734 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.999e-05/0.01514, allocations: 88.3 kB / 284 MB, free: 9.629 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.16e-05/0.0152, allocations: 22.3 kB / 284 MB, free: 9.609 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.341e-05/0.01528, allocations: 83.36 kB / 284.1 MB, free: 9.527 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01528, allocations: 4 kB / 284.1 MB, free: 9.523 MB / 266.7 MB Notification: Performance of Templates: time 0.005176/0.02046, allocations: 3.424 MB / 287.6 MB, free: 6.152 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5324136237613857]