Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.001171/0.001171, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001925/0.003096, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001141/0.001141, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.002526, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9932/0.9932, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0803/1.073, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 244.6 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075e-05/1.217e-05, allocations: 2.312 kB / 244.6 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.003626/0.003638, allocations: 4.436 MB / 249 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.005805, allocations: 1.316 MB / 250.3 MB, free: 8.484 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003416/0.006147, allocations: 11.94 kB / 250.3 MB, free: 8.473 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000288/0.006435, allocations: 142.7 kB / 250.5 MB, free: 8.332 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003304/0.006765, allocations: 218 kB / 250.7 MB, free: 8.117 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.007181, allocations: 227.4 kB / 250.9 MB, free: 7.895 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000805/0.007986, allocations: 0.7861 MB / 251.7 MB, free: 7.105 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002472/0.008233, allocations: 185 kB / 251.9 MB, free: 6.922 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004411/0.008674, allocations: 0.5039 MB / 252.4 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002656/0.00894, allocations: 251.2 kB / 252.6 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.431e-05/0.009004, allocations: 68 kB / 252.7 MB, free: 6.105 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.009113, allocations: 64 kB / 252.8 MB, free: 6.043 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.516e-05/0.009188, allocations: 107.6 kB / 252.9 MB, free: 5.938 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.009338, allocations: 195.6 kB / 253.1 MB, free: 5.746 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004004/0.009739, allocations: 466.2 kB / 253.5 MB, free: 5.289 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.472e-05/0.009754, allocations: 0 / 253.5 MB, free: 5.289 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.009754, allocations: 0 / 253.5 MB, free: 5.289 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.009772, allocations: 3.938 kB / 253.5 MB, free: 5.285 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001049/0.01082, allocations: 1.002 MB / 254.5 MB, free: 4.258 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.01085, allocations: 8.031 kB / 254.5 MB, free: 4.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.01109, allocations: 193.9 kB / 254.7 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.01142, allocations: 295.6 kB / 255 MB, free: 3.727 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.01145, allocations: 41.69 kB / 255 MB, free: 3.684 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.065e-05/0.01151, allocations: 56.38 kB / 255.1 MB, free: 3.629 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004655/0.01197, allocations: 0.5896 MB / 255.7 MB, free: 2.98 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.01199, allocations: 192 / 255.7 MB, free: 2.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.01202, allocations: 23.94 kB / 255.7 MB, free: 2.957 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.01203, allocations: 16 kB / 255.7 MB, free: 2.941 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.0122, allocations: 141.1 kB / 255.9 MB, free: 2.805 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.01363, allocations: 1.246 MB / 257.1 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.01395, allocations: 243.4 kB / 257.3 MB, free: 1.258 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004067/0.01436, allocations: 345.2 kB / 257.7 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.01439, allocations: 8.328 kB / 257.7 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/0.01468, allocations: 402.1 kB / 258.1 MB, free: 452 kB / 250.7 MB Notification: Performance of pre-optimization done (n=41): time 1.322e-06/0.01468, allocations: 0 / 258.1 MB, free: 452 kB / 250.7 MB Notification: Performance of matching and sorting (n=41): time 0.001903/0.01658, allocations: 0.8052 MB / 258.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.01663, allocations: 63.39 kB / 259 MB, free: 15.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.01686, allocations: 363.2 kB / 259.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.01689, allocations: 41.69 kB / 259.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.01701, allocations: 281.6 kB / 259.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.992e-05/0.01708, allocations: 146.8 kB / 259.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.659e-05/0.01717, allocations: 90.11 kB / 259.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.01726, allocations: 362.7 kB / 260.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.751e-05/0.01732, allocations: 44.98 kB / 260.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.0175, allocations: 400.9 kB / 260.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.01771, allocations: 267.4 kB / 260.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.01772, allocations: 4 kB / 260.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005014/0.01822, allocations: 464.9 kB / 261.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.01824, allocations: 10.97 kB / 261.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.01824, allocations: 0 / 261.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005118/0.01876, allocations: 252.8 kB / 261.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.01893, allocations: 83.84 kB / 261.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.02087, allocations: 2.142 MB / 263.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.02107, allocations: 75.67 kB / 263.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.02109, allocations: 16 kB / 263.9 MB, free: 10.27 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.02121, allocations: 140.6 kB / 264.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.02125, allocations: 47.89 kB / 264.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.51e-05/0.02131, allocations: 52.8 kB / 264.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.02131, allocations: 8.031 kB / 264.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.02132, allocations: 0 / 264.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.02132, allocations: 4 kB / 264.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007693/0.02209, allocations: 0.6925 MB / 264.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.02209, allocations: 3.938 kB / 264.9 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.626e-05/0.02219, allocations: 39.98 kB / 264.9 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.02223, allocations: 51.61 kB / 265 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000445/0.02268, allocations: 256.5 kB / 265.2 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.0227, allocations: 7.984 kB / 265.2 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.02446, allocations: 2.048 MB / 267.3 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.02447, allocations: 0 / 267.3 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.02499, allocations: 0.5242 MB / 267.8 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.02503, allocations: 12 kB / 267.8 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.02517, allocations: 35.97 kB / 267.8 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.02522, allocations: 35.72 kB / 267.9 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.02524, allocations: 11.98 kB / 267.9 MB, free: 6.168 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.02535, allocations: 152.7 kB / 268 MB, free: 6.023 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02535, allocations: 0 / 268 MB, free: 6.023 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003991/0.02575, allocations: 191.6 kB / 268.2 MB, free: 5.836 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001135/0.02586, allocations: 92.41 kB / 268.3 MB, free: 5.738 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005544/0.02641, allocations: 473.6 kB / 268.8 MB, free: 5.262 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.729e-05/0.02643, allocations: 7.938 kB / 268.8 MB, free: 5.254 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.02673, allocations: 345.8 kB / 269.1 MB, free: 4.902 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.02702, allocations: 116.9 kB / 269.2 MB, free: 4.785 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/0.03059, allocations: 0.898 MB / 270.1 MB, free: 3.859 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.484e-05/0.03068, allocations: 129.8 kB / 270.3 MB, free: 3.715 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.03079, allocations: 44.16 kB / 270.3 MB, free: 3.668 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.03095, allocations: 139.3 kB / 270.4 MB, free: 3.531 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.03095, allocations: 0 / 270.4 MB, free: 3.531 MB / 266.7 MB Notification: Performance of Templates: time 0.009793/0.04074, allocations: 7.754 MB / 278.2 MB, free: 11.88 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.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.631188333965838]