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.001353/0.001353, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 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.001476/0.001476, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 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 1.461/1.461, allocations: 177.2 MB / 204.9 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] 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 0.00163/0.00163, allocations: 52.64 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1038, allocations: 53.35 MB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.007017/0.1109, allocations: 4.049 MB / 383 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.1136, allocations: 1.223 MB / 384.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005526/0.1142, allocations: 19.88 kB / 384.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005898/0.1148, allocations: 142.7 kB / 384.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007765/0.1156, allocations: 206.2 kB / 384.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006637/0.1162, allocations: 223.6 kB / 384.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.1172, allocations: 0.7591 MB / 385.6 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003615/0.1176, allocations: 183.1 kB / 385.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004299/0.118, allocations: 310.9 kB / 386 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004115/0.1184, allocations: 282.5 kB / 386.3 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.417e-05/0.1185, allocations: 64 kB / 386.4 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.1187, allocations: 72 kB / 386.4 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.1188, allocations: 147.4 kB / 386.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003243/0.1191, allocations: 290.6 kB / 386.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008632/0.12, allocations: 0.7663 MB / 387.6 MB, free: 6.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.12, allocations: 0 / 387.6 MB, free: 6.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.12, allocations: 4 kB / 387.6 MB, free: 6.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.12, allocations: 0 / 387.6 MB, free: 6.914 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.001824/0.1218, allocations: 0.946 MB / 388.6 MB, free: 5.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1219, allocations: 8.031 kB / 388.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003083/0.1222, allocations: 104.4 kB / 388.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005801/0.1228, allocations: 364.2 kB / 389.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.1228, allocations: 41.69 kB / 389.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.1229, allocations: 52.38 kB / 389.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.124, allocations: 0.7291 MB / 389.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.124, allocations: 0 / 389.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.883e-05/0.1241, allocations: 20 kB / 389.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.1241, allocations: 16 kB / 389.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009062/0.125, allocations: 421 kB / 390.3 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.1279, allocations: 1.554 MB / 391.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007697/0.1287, allocations: 351.9 kB / 392.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.1298, allocations: 417.7 kB / 392.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.1298, allocations: 4.328 kB / 392.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006629/0.1305, allocations: 478.1 kB / 393.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.753e-06/0.1305, allocations: 0 / 393.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003706/0.1342, allocations: 1.102 MB / 394.2 MB, free: 64 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001769/0.1344, allocations: 239.4 kB / 394.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000534/0.1349, allocations: 417.7 kB / 394.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/0.1349, allocations: 41.69 kB / 394.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.1352, allocations: 324.7 kB / 395.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.1353, allocations: 154.7 kB / 395.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.1355, allocations: 94.14 kB / 395.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.1357, allocations: 350.7 kB / 395.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.136, allocations: 156.9 kB / 395.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/0.1367, allocations: 496.9 kB / 396.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008152/0.1375, allocations: 443.4 kB / 396.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.1375, allocations: 4 kB / 396.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00189/0.1394, allocations: 0.7442 MB / 397.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1394, allocations: 8 kB / 397.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.1394, allocations: 12 kB / 397.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006694/0.1401, allocations: 179.4 kB / 397.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.1404, allocations: 87.83 kB / 397.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004668/0.1451, allocations: 2.633 MB / 400.5 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005926/0.1457, allocations: 87.59 kB / 400.6 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.1457, allocations: 24 kB / 400.6 MB, free: 9.27 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 (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.0002928/0.146, allocations: 185.6 kB / 400.8 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.299e-05/0.1461, allocations: 47.72 kB / 400.9 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.1462, allocations: 52.8 kB / 400.9 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1462, allocations: 4 kB / 400.9 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1462, allocations: 8 kB / 400.9 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.1462, allocations: 3.938 kB / 400.9 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.1485, allocations: 1.09 MB / 402 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1485, allocations: 0 / 402 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.1487, allocations: 47.97 kB / 402.1 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005569/0.1493, allocations: 176.7 kB / 402.2 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.1493, allocations: 15.94 kB / 402.2 MB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004183/0.1535, allocations: 2.617 MB / 404.9 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1535, allocations: 0 / 404.9 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.1557, allocations: 0.8948 MB / 405.8 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.1558, allocations: 51.62 kB / 405.8 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/0.1558, allocations: 15.98 kB / 405.8 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.1562, allocations: 44.03 kB / 405.9 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.1563, allocations: 31.88 kB / 405.9 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.1564, allocations: 12 kB / 405.9 MB, free: 3.809 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003652/0.1567, allocations: 291.1 kB / 406.2 MB, free: 3.531 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1567, allocations: 0 / 406.2 MB, free: 3.531 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007091/0.1574, allocations: 183.7 kB / 406.4 MB, free: 3.352 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.0001545/0.1576, allocations: 111.1 kB / 406.5 MB, free: 3.234 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.1589, allocations: 0.5616 MB / 407 MB, free: 2.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1589, allocations: 0 / 407 MB, free: 2.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007509/0.1596, allocations: 386.1 kB / 407.4 MB, free: 2.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.1601, allocations: 69.69 kB / 407.5 MB, free: 2.199 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.162, allocations: 0.9252 MB / 408.4 MB, free: 1.242 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1624, allocations: 259.6 kB / 408.7 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002096/0.1626, allocations: 48.34 kB / 408.7 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.734e-05/0.1627, allocations: 40.5 kB / 408.8 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1627, allocations: 0 / 408.8 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of Templates: time 0.01461/0.1773, allocations: 6.694 MB / 415.4 MB, free: 10.29 MB / 382.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.749309815000743]