Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.001355/0.001355, allocations: 120.8 kB / 18.46 MB, free: 4.449 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.001361/0.001361, allocations: 190.9 kB / 21.4 MB, free: 1.52 MB / 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.384/1.384, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.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.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 59.91 kB / 366.9 MB, free: 388 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08964/0.09116, allocations: 52.13 MB / 419 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005808/0.09697, allocations: 4.474 MB / 423.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.09899, allocations: 1.219 MB / 424.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.09921, allocations: 12 kB / 424.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004342/0.09964, allocations: 146.7 kB / 424.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003922/0.1, allocations: 210.2 kB / 425 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.1004, allocations: 199.6 kB / 425.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007718/0.1012, allocations: 0.7514 MB / 426 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.1015, allocations: 198.5 kB / 426.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003375/0.1019, allocations: 286.9 kB / 426.5 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004056/0.1023, allocations: 326.5 kB / 426.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.331e-05/0.1024, allocations: 64 kB / 426.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.1025, allocations: 64 kB / 426.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.1026, allocations: 147.5 kB / 427.1 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000334/0.103, allocations: 342.3 kB / 427.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007896/0.1037, allocations: 0.7468 MB / 428.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1037, allocations: 3.938 kB / 428.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1038, allocations: 4 kB / 428.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.1038, allocations: 0 / 428.1 MB, free: 2.953 MB / 350.1 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.001739/0.1055, allocations: 0.962 MB / 429.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1055, allocations: 11.89 kB / 429.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.1057, allocations: 80.47 kB / 429.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005303/0.1062, allocations: 414.2 kB / 429.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.1062, allocations: 37.69 kB / 429.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.28e-05/0.1063, allocations: 56.38 kB / 429.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.1073, allocations: 0.5533 MB / 430.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.1074, allocations: 3.938 kB / 430.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.299e-05/0.1074, allocations: 24 kB / 430.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.1074, allocations: 19.94 kB / 430.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000899/0.1083, allocations: 417 kB / 430.7 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003067/0.1114, allocations: 1.821 MB / 432.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008369/0.1122, allocations: 498.8 kB / 433 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.1133, allocations: 421.6 kB / 433.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.1133, allocations: 4.328 kB / 433.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005565/0.1139, allocations: 302.2 kB / 433.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 1.873e-06/0.1139, allocations: 0 / 433.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=41): time 0.004096/0.118, allocations: 1.299 MB / 435 MB, free: 11.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.1181, allocations: 235.3 kB / 435.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.1186, allocations: 429.9 kB / 435.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.1187, allocations: 37.7 kB / 435.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.1189, allocations: 312.8 kB / 436 MB, free: 10.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.1191, allocations: 154.6 kB / 436.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.1192, allocations: 94.14 kB / 436.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.1194, allocations: 358.8 kB / 436.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/0.1197, allocations: 153 kB / 436.7 MB, free: 9.949 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/0.1202, allocations: 317.7 kB / 437.1 MB, free: 9.566 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007878/0.121, allocations: 451.2 kB / 437.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.121, allocations: 3.938 kB / 437.5 MB, free: 9.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001856/0.1229, allocations: 0.7792 MB / 438.3 MB, free: 8.285 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.1229, allocations: 9.25 kB / 438.3 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.1229, allocations: 0 / 438.3 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007309/0.1236, allocations: 222.8 kB / 438.5 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.1239, allocations: 75.84 kB / 438.6 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005221/0.1292, allocations: 3.137 MB / 441.7 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/0.1297, allocations: 79.59 kB / 441.8 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.1297, allocations: 20 kB / 441.8 MB, free: 4.617 MB / 366.1 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.0003138/0.13, allocations: 189.6 kB / 442 MB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.511e-05/0.1301, allocations: 47.72 kB / 442 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.1302, allocations: 56.86 kB / 442.1 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1302, allocations: 4 kB / 442.1 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1302, allocations: 0 / 442.1 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1302, allocations: 0 / 442.1 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.1326, allocations: 1.28 MB / 443.4 MB, free: 2.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1326, allocations: 0 / 443.4 MB, free: 2.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.1328, allocations: 27.98 kB / 443.4 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006201/0.1334, allocations: 226.1 kB / 443.6 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.1334, allocations: 8 kB / 443.6 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.183/0.3165, allocations: 3.054 MB / 446.7 MB, free: 29.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3165, allocations: 1.906 kB / 446.7 MB, free: 29.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.3184, allocations: 0.9299 MB / 447.6 MB, free: 28.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.3185, allocations: 127.1 kB / 447.8 MB, free: 28.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.559e-05/0.3186, allocations: 10.56 kB / 447.8 MB, free: 28.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/0.3189, allocations: 41.84 kB / 447.8 MB, free: 28.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.165e-05/0.319, allocations: 39.12 kB / 447.8 MB, free: 28.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.319, allocations: 10.47 kB / 447.9 MB, free: 28.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002811/0.3193, allocations: 300.3 kB / 448.1 MB, free: 28.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3193, allocations: 0.8125 kB / 448.1 MB, free: 28.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006272/0.32, allocations: 188.2 kB / 448.3 MB, free: 28.77 MB / 366.1 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.0001341/0.3201, allocations: 111.5 kB / 448.4 MB, free: 28.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00146/0.3215, allocations: 0.6505 MB / 449.1 MB, free: 28.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3216, allocations: 4.469 kB / 449.1 MB, free: 28.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006391/0.3222, allocations: 405.4 kB / 449.5 MB, free: 28.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.3227, allocations: 85.47 kB / 449.6 MB, free: 28.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.3242, allocations: 0.9599 MB / 450.5 MB, free: 27.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.3245, allocations: 0.8623 MB / 451.4 MB, free: 27.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.308e-05/0.3245, allocations: 31.8 kB / 451.4 MB, free: 27.27 MB / 366.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3246, allocations: 0 / 451.4 MB, free: 27.27 MB / 366.1 MB Notification: Performance of Templates: time 0.0133/0.3378, allocations: 8.368 MB / 459.8 MB, free: 26.34 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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: 7.357867049984634]