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.001773/0.001773, allocations: 68.08 kB / 21.24 MB, free: 404 kB / 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.001372/0.001372, allocations: 160.9 kB / 24.49 MB, free: 3.461 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.466/1.466, allocations: 173.4 MB / 201.1 MB, free: 12.73 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.001508/0.001508, allocations: 47.56 kB / 319.4 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08932/0.09083, allocations: 52.16 MB / 371.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.0055/0.09633, allocations: 4.025 MB / 375.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.0984, allocations: 1.153 MB / 376.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.09863, allocations: 15.88 kB / 376.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003909/0.09902, allocations: 142.7 kB / 376.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004024/0.09942, allocations: 206.3 kB / 377.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.09982, allocations: 199.6 kB / 377.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008319/0.1007, allocations: 0.7591 MB / 378.1 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003372/0.101, allocations: 179.1 kB / 378.3 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003599/0.1013, allocations: 294.9 kB / 378.6 MB, free: 372 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004033/0.1018, allocations: 286.5 kB / 378.8 MB, free: 84 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.1019, allocations: 68 kB / 378.9 MB, free: 16 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.102, allocations: 67.98 kB / 379 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.1021, allocations: 143.4 kB / 379.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003047/0.1024, allocations: 282.7 kB / 379.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007907/0.1032, allocations: 0.7508 MB / 380.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1032, allocations: 0 / 380.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1032, allocations: 0 / 380.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.1032, allocations: 0 / 380.1 MB, free: 14.78 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.105, allocations: 0.9499 MB / 381.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.105, allocations: 12.03 kB / 381.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.1051, allocations: 76.47 kB / 381.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005428/0.1057, allocations: 344.4 kB / 381.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.908e-05/0.1057, allocations: 45.69 kB / 381.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.263e-05/0.1058, allocations: 60.33 kB / 381.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.1069, allocations: 0.729 MB / 382.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.1069, allocations: 0 / 382.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.773e-05/0.107, allocations: 20 kB / 382.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.107, allocations: 12 kB / 382.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008839/0.1079, allocations: 421 kB / 382.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002836/0.1107, allocations: 1.55 MB / 384.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000765/0.1115, allocations: 344 kB / 384.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.1125, allocations: 425.1 kB / 385.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.1126, allocations: 4.328 kB / 385.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006408/0.1132, allocations: 478.2 kB / 385.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.974e-06/0.1132, allocations: 0 / 385.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003629/0.1168, allocations: 1.106 MB / 386.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.117, allocations: 235.3 kB / 386.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004927/0.1175, allocations: 409.6 kB / 387.3 MB, free: 7.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.1175, allocations: 33.69 kB / 387.3 MB, free: 7.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.1178, allocations: 324.6 kB / 387.6 MB, free: 6.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.1179, allocations: 142.8 kB / 387.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.118, allocations: 90.19 kB / 387.9 MB, free: 6.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1182, allocations: 358.7 kB / 388.2 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/0.1186, allocations: 148.9 kB / 388.4 MB, free: 6.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000571/0.1191, allocations: 496.9 kB / 388.9 MB, free: 5.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007771/0.1199, allocations: 439.2 kB / 389.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1199, allocations: 8 kB / 389.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001779/0.1217, allocations: 0.7479 MB / 390 MB, free: 4.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.1217, allocations: 8 kB / 390 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.1217, allocations: 7.984 kB / 390.1 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00063/0.1224, allocations: 176.8 kB / 390.2 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.1227, allocations: 91.78 kB / 390.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004349/0.127, allocations: 2.632 MB / 392.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004976/0.1275, allocations: 83.56 kB / 393 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.1276, allocations: 20.08 kB / 393 MB, free: 1.211 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 (46): * Single equations (assignments): 45 * 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,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002656/0.1278, allocations: 177.8 kB / 393.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.062e-05/0.1279, allocations: 47.67 kB / 393.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.128, allocations: 52.72 kB / 393.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.128, allocations: 4 kB / 393.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.128, allocations: 3.984 kB / 393.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.128, allocations: 7.875 kB / 393.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.1303, allocations: 1.09 MB / 394.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1303, allocations: 4 kB / 394.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.1305, allocations: 51.91 kB / 394.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005425/0.131, allocations: 180.8 kB / 394.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.1311, allocations: 8 kB / 394.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004032/0.1351, allocations: 2.634 MB / 397.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1351, allocations: 0 / 397.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.1371, allocations: 0.8948 MB / 398.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.956e-05/0.1372, allocations: 47.67 kB / 398.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/0.1372, allocations: 11.94 kB / 398.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.1376, allocations: 51.97 kB / 398.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.339e-05/0.1377, allocations: 31.92 kB / 398.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.1377, allocations: 12 kB / 398.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003331/0.1381, allocations: 279.2 kB / 398.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1381, allocations: 0 / 398.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006625/0.1387, allocations: 187.6 kB / 398.8 MB, free: 11.28 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 (25): * Single equations (assignments): 23 * 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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001488/0.1389, allocations: 111.2 kB / 398.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.14, allocations: 0.5649 MB / 399.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.14, allocations: 0 / 399.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006644/0.1407, allocations: 374.8 kB / 399.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.1411, allocations: 77.02 kB / 399.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.1429, allocations: 0.9361 MB / 400.9 MB, free: 9.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.1432, allocations: 255.4 kB / 401.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001638/0.1433, allocations: 51.62 kB / 401.2 MB, free: 8.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.1434, allocations: 28.5 kB / 401.2 MB, free: 8.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1434, allocations: 0 / 401.2 MB, free: 8.82 MB / 366.1 MB Notification: Performance of Templates: time 0.01265/0.1561, allocations: 6.578 MB / 407.8 MB, free: 2.348 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.644235809100792]