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.001744/0.001744, allocations: 120.5 kB / 18.41 MB, free: 4.645 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.0021/0.0021, allocations: 186.7 kB / 21.34 MB, free: 1.715 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.441/1.441, allocations: 222.9 MB / 247 MB, free: 4.199 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.001551/0.001551, allocations: 52.06 kB / 358.7 MB, free: 8.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1017, allocations: 49.43 MB / 408.1 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006193/0.108, allocations: 4.444 MB / 412.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.1105, allocations: 1.211 MB / 413.8 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002512/0.1108, allocations: 11.94 kB / 413.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004419/0.1113, allocations: 142.8 kB / 413.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004048/0.1117, allocations: 194.3 kB / 414.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.1121, allocations: 207.6 kB / 414.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008607/0.113, allocations: 0.7552 MB / 415.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005085/0.1135, allocations: 270.4 kB / 415.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003691/0.1139, allocations: 286.9 kB / 415.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004269/0.1143, allocations: 330.5 kB / 416 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.956e-05/0.1144, allocations: 64 kB / 416 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1146, allocations: 64 kB / 416.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.1147, allocations: 147.5 kB / 416.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003414/0.1151, allocations: 338.3 kB / 416.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008265/0.1159, allocations: 0.7508 MB / 417.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1159, allocations: 0 / 417.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1159, allocations: 0 / 417.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.116, allocations: 0 / 417.3 MB, free: 13.57 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.001886/0.1178, allocations: 0.9659 MB / 418.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1179, allocations: 15.89 kB / 418.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.118, allocations: 76.47 kB / 418.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/0.1186, allocations: 410.2 kB / 418.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.719e-05/0.1187, allocations: 37.69 kB / 418.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.058e-05/0.1188, allocations: 56.31 kB / 418.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.1198, allocations: 0.5534 MB / 419.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1198, allocations: 0 / 419.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/0.1199, allocations: 24 kB / 419.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.1199, allocations: 23.98 kB / 419.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009284/0.1209, allocations: 413 kB / 419.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003195/0.1241, allocations: 1.821 MB / 421.7 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009292/0.125, allocations: 0.5269 MB / 422.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.1264, allocations: 453.6 kB / 422.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.906e-05/0.1264, allocations: 4.328 kB / 422.7 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005848/0.127, allocations: 294.2 kB / 422.9 MB, free: 7.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.442e-06/0.127, allocations: 4 kB / 423 MB, free: 7.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.004432/0.1315, allocations: 1.315 MB / 424.3 MB, free: 6.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002071/0.1317, allocations: 239.3 kB / 424.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005425/0.1322, allocations: 433.8 kB / 424.9 MB, free: 5.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.1323, allocations: 33.7 kB / 425 MB, free: 5.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.1325, allocations: 308.8 kB / 425.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.1327, allocations: 150.7 kB / 425.4 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.1328, allocations: 94.2 kB / 425.5 MB, free: 4.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.133, allocations: 358.8 kB / 425.8 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.1334, allocations: 149 kB / 426 MB, free: 4.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005372/0.1339, allocations: 317.6 kB / 426.3 MB, free: 4.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008519/0.1348, allocations: 451.2 kB / 426.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/0.1348, allocations: 7.938 kB / 426.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001951/0.1368, allocations: 0.7831 MB / 427.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1368, allocations: 8 kB / 427.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.1368, allocations: 4 kB / 427.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007633/0.1376, allocations: 222.1 kB / 427.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.1379, allocations: 71.91 kB / 427.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1982/0.3361, allocations: 3.137 MB / 431 MB, free: 21.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/0.3367, allocations: 81.22 kB / 431 MB, free: 21.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.3368, allocations: 20.45 kB / 431.1 MB, free: 21.07 MB / 350.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.0002185/0.337, allocations: 184.8 kB / 431.2 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/0.3371, allocations: 53.39 kB / 431.3 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.794e-05/0.3372, allocations: 55.28 kB / 431.4 MB, free: 20.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3372, allocations: 2.719 kB / 431.4 MB, free: 20.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.3372, allocations: 0 / 431.4 MB, free: 20.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.3372, allocations: 4.125 kB / 431.4 MB, free: 20.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.3394, allocations: 1.281 MB / 432.6 MB, free: 20.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3394, allocations: 2 kB / 432.6 MB, free: 20.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.3396, allocations: 30.91 kB / 432.7 MB, free: 20.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006345/0.3402, allocations: 217.4 kB / 432.9 MB, free: 20.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.3403, allocations: 14.52 kB / 432.9 MB, free: 20.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005096/0.3454, allocations: 3.056 MB / 436 MB, free: 19.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.3454, allocations: 1.594 kB / 436 MB, free: 19.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003572/0.349, allocations: 0.9469 MB / 436.9 MB, free: 18.92 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.3492, allocations: 133.2 kB / 437 MB, free: 18.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.3493, allocations: 6.984 kB / 437 MB, free: 18.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006714/0.35, allocations: 45.42 kB / 437.1 MB, free: 18.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.3502, allocations: 31.02 kB / 437.1 MB, free: 18.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.3503, allocations: 13.11 kB / 437.1 MB, free: 18.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005628/0.3509, allocations: 300.7 kB / 437.4 MB, free: 18.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3509, allocations: 0 / 437.4 MB, free: 18.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001265/0.3522, allocations: 184.5 kB / 437.6 MB, free: 18.7 MB / 350.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.0001993/0.3524, allocations: 117.1 kB / 437.7 MB, free: 18.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002598/0.355, allocations: 0.6762 MB / 438.4 MB, free: 18.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.355, allocations: 1.781 kB / 438.4 MB, free: 18.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.3562, allocations: 427.4 kB / 438.8 MB, free: 18.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009093/0.3572, allocations: 86.86 kB / 438.9 MB, free: 18.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.3598, allocations: 0.9505 MB / 439.8 MB, free: 17.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.3603, allocations: 0.8648 MB / 440.7 MB, free: 17.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.3605, allocations: 33.27 kB / 440.7 MB, free: 17.17 MB / 350.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3605, allocations: 3.938 kB / 440.8 MB, free: 17.17 MB / 350.1 MB Notification: Performance of Templates: time 0.02094/0.3815, allocations: 8.337 MB / 449.1 MB, free: 15.36 MB / 350.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.930175572982989]